#17082A

Closest named color: Midnight Purple (#280137). oklch(18.1% 0.066 300.2), rgb(23, 8, 42).

Aa

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

About this color

#17082A is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.066 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.049 away. White text reads best on it, at 19.01:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.066)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.10:1
White text19.01:1

Values

HEX#17082A
RGBrgb(23, 8, 42)
HSLhsl(266, 68%, 10%)
OKLCHoklch(18.1% 0.066 300.2)

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 #17082A 19.01:1 AAA Lc -107.3 Preferred for body text
Black text on #17082A 1.10:1 Fails Lc 0.0 Not readable
#17082A text on white 19.01:1 AAA Lc 105.2 Preferred for body text
#17082A 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F2

    oklch(88.4% 0.043 300.2)

  4. Step 300

    300

    #C8B6EC

    oklch(81% 0.077 299.9)

  5. Step 400

    400

    #AD8EE3

    oklch(70.8% 0.125 300)

  6. Step 500

    500

    #9A6FDB

    oklch(63.2% 0.161 300.2)

  7. Step 600

    600

    #8554C8

    oklch(55.6% 0.174 300.3)

  8. Step 700

    700

    #7144AD

    oklch(49.2% 0.162 300.3)

  9. Step 800

    800

    #5C388C

    oklch(42.7% 0.135 300.5)

  10. Step 900

    900

    #4B3270

    oklch(37.8% 0.104 300.1)

  11. Step 950

    950 (this color)

    #17082A

    oklch(18.1% 0.066 300.2)

Export this scale for Tailwind in the Tailwind colors tool

#17082A 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)#00102B0.048
Deuteranopia (no green cones)#0010290.049
Tritanopia (no blue cones)#1310170.051
Achromatopsia (no color)#1010100.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #0F1400

    #0F1400

    oklch(17.9% 0.043 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #080E2F

    #080E2F

    oklch(18.3% 0.066 270.5)

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #181100

    #181100

    oklch(18.1% 0.037 91.1)

  • #001806

    #001806

    oklch(18.3% 0.05 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #1F0C00

    #1F0C00

    oklch(18% 0.043 59)

  • #001612

    #001612

    oklch(17.9% 0.033 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #290301

    #290301

    oklch(18.3% 0.066 31)

  • #0F1400

    #0F1400

    oklch(17.9% 0.043 120.4)

  • #001519

    #001519

    oklch(17.9% 0.031 210.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #17082A 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.