#17082D

Closest named color: Midnight Purple (#280137). oklch(18.4% 0.071 297.7), rgb(23, 8, 45).

Aa

White text reads best on this color (18.93:1).

About this color

#17082D is a very dark, moderately saturated purple. In OKLCH its lightness is 18%, its chroma 0.071 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.046 away. White text reads best on it, at 18.93:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.10:1
White text18.93:1

Values

HEX#17082D
RGBrgb(23, 8, 45)
HSLhsl(264, 70%, 10%)
OKLCHoklch(18.4% 0.071 297.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #17082D 18.93:1 AAA Lc -107.2 Preferred for body text
Black text on #17082D 1.10:1 Fails Lc 0.0 Not readable
#17082D text on white 18.93:1 AAA Lc 105.2 Preferred for body text
#17082D text on black 1.10:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #AB8DE9

    oklch(70.7% 0.134 297.9)

  6. Step 500

    500

    #976EE2

    oklch(63.1% 0.17 297.6)

  7. Step 600

    600

    #8252D0

    oklch(55.5% 0.187 297.5)

  8. Step 700

    700

    #6F42B4

    oklch(49.2% 0.173 297.9)

  9. Step 800

    800

    #5A3792

    oklch(42.7% 0.144 297.7)

  10. Step 900

    900

    #4A3174

    oklch(37.8% 0.111 298.1)

  11. Step 950

    950 (this color)

    #17082D

    oklch(18.4% 0.071 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#17082D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#00112E0.048
Deuteranopia (no green cones)#00102C0.048
Tritanopia (no blue cones)#1211190.055
Achromatopsia (no color)#1111110.071

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #17082D

    #17082D

    oklch(18.4% 0.071 297.7)

  • #111500

    #111500

    oklch(18.5% 0.043 118.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17082D

    #17082D

    oklch(18.4% 0.071 297.7)

  • #060E31

    #060E31

    oklch(18.4% 0.071 268)

  • #220422

    #220422

    oklch(18.5% 0.07 328)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #17082D

    #17082D

    oklch(18.4% 0.071 297.7)

  • #191100

    #191100

    oklch(18.3% 0.037 88.4)

  • #001804

    #001804

    oklch(18.2% 0.053 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17082D

    #17082D

    oklch(18.4% 0.071 297.7)

  • #210C00

    #210C00

    oklch(18.4% 0.045 55.9)

  • #001712

    #001712

    oklch(18.3% 0.034 177.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17082D

    #17082D

    oklch(18.4% 0.071 297.7)

  • #2B0102

    #2B0102

    oklch(18.4% 0.072 26.2)

  • #111500

    #111500

    oklch(18.5% 0.043 118.2)

  • #00161A

    #00161A

    oklch(18.3% 0.032 209.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #17082D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #17082D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.