#090217

Closest named color: Midnight (#03012D). oklch(12.4% 0.051 298.3), rgb(9, 2, 23).

Aa

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

About this color

#090217 is a very dark, muted purple. In OKLCH its lightness is 12%, its chroma 0.051 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.052 away. White text reads best on it, at 20.33:1.

Hue familyPurples
Lightnessvery dark (12%)
Chromamuted (0.051)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.33:1

Values

HEX#090217
RGBrgb(9, 2, 23)
HSLhsl(260, 84%, 5%)
OKLCHoklch(12.4% 0.051 298.3)

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 #090217 20.33:1 AAA Lc -107.8 Preferred for body text
Black text on #090217 1.03:1 Fails Lc 0.0 Not readable
#090217 text on white 20.33:1 AAA Lc 105.9 Preferred for body text
#090217 text on black 1.03: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C5B9E3

    oklch(80.9% 0.06 298.1)

  5. Step 400

    400

    #A893D5

    oklch(70.6% 0.097 298.5)

  6. Step 500

    500

    #9377CA

    oklch(63% 0.125 298.3)

  7. Step 600

    600

    #7E5FB7

    oklch(55.6% 0.135 298.2)

  8. Step 700

    700

    #6A4E9D

    oklch(49% 0.124 298)

  9. Step 800

    800

    #574080

    oklch(42.7% 0.105 298.5)

  10. Step 900

    900

    #473766

    oklch(37.7% 0.08 298.2)

  11. Step 950

    950 (this color)

    #090217

    oklch(12.4% 0.051 298.3)

Export this scale for Tailwind in the Tailwind colors tool

#090217 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)#0005180.033
Deuteranopia (no green cones)#0005170.033
Tritanopia (no blue cones)#06050A0.038
Achromatopsia (no color)#0505050.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #090217

    #090217

    oklch(12.4% 0.051 298.3)

  • #060700

    #060700

    oklch(12.3% 0.028 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #090217

    #090217

    oklch(12.4% 0.051 298.3)

  • #02041A

    #02041A

    oklch(12.4% 0.051 269.5)

  • #100110

    #100110

    oklch(12.6% 0.05 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #090217

    #090217

    oklch(12.4% 0.051 298.3)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

  • #000901

    #000901

    oklch(12.2% 0.036 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #090217

    #090217

    oklch(12.4% 0.051 298.3)

  • #0E0400

    #0E0400

    oklch(12.4% 0.029 59.9)

  • #000906

    #000906

    oklch(12.5% 0.024 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #090217

    #090217

    oklch(12.4% 0.051 298.3)

  • #150000

    #150000

    oklch(12.3% 0.05 29.2)

  • #060700

    #060700

    oklch(12.3% 0.028 114.5)

  • #00080A

    #00080A

    oklch(12.3% 0.021 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #090217 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.