#09021B

Closest named color: Midnight (#03012D). oklch(12.9% 0.057 293.7), rgb(9, 2, 27).

Aa

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

About this color

#09021B is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.057 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.044 away. White text reads best on it, at 20.26:1.

Hue familyPurples
Lightnessvery dark (13%)
Chromamuted (0.057)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.26:1

Values

HEX#09021B
RGBrgb(9, 2, 27)
HSLhsl(257, 86%, 6%)
OKLCHoklch(12.9% 0.057 293.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 #09021B 20.26:1 AAA Lc -107.7 Preferred for body text
Black text on #09021B 1.03:1 Fails Lc 0.0 Not readable
#09021B text on white 20.26:1 AAA Lc 105.9 Preferred for body text
#09021B 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F0

    oklch(88.5% 0.037 294.1)

  4. Step 300

    300

    #C2B9E9

    oklch(80.9% 0.068 293.4)

  5. Step 400

    400

    #A493DE

    oklch(70.7% 0.109 293.8)

  6. Step 500

    500

    #8E77D4

    oklch(63.1% 0.137 293.4)

  7. Step 600

    600

    #795EC2

    oklch(55.6% 0.15 293.3)

  8. Step 700

    700

    #664DA7

    oklch(49.1% 0.139 293.4)

  9. Step 800

    800

    #533F87

    oklch(42.6% 0.116 293.7)

  10. Step 900

    900

    #45366C

    oklch(37.6% 0.09 294.4)

  11. Step 950

    950 (this color)

    #09021B

    oklch(12.9% 0.057 293.7)

Export this scale for Tailwind in the Tailwind colors tool

#09021B 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)#00061C0.033
Deuteranopia (no green cones)#00061A0.033
Tritanopia (no blue cones)#05060C0.043
Achromatopsia (no color)#0606060.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #09021B

    #09021B

    oklch(12.9% 0.057 293.7)

  • #070800

    #070800

    oklch(12.9% 0.029 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #09021B

    #09021B

    oklch(12.9% 0.057 293.7)

  • #01051D

    #01051D

    oklch(13% 0.055 264.7)

  • #110013

    #110013

    oklch(12.7% 0.059 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #09021B

    #09021B

    oklch(12.9% 0.057 293.7)

  • #0C0600

    #0C0600

    oklch(12.8% 0.026 81.9)

  • #000B00

    #000B00

    oklch(13% 0.044 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #09021B

    #09021B

    oklch(12.9% 0.057 293.7)

  • #100400

    #100400

    oklch(12.8% 0.032 55.1)

  • #000A06

    #000A06

    oklch(12.9% 0.025 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #09021B

    #09021B

    oklch(12.9% 0.057 293.7)

  • #170001

    #170001

    oklch(12.9% 0.052 23.2)

  • #070800

    #070800

    oklch(12.9% 0.029 113.9)

  • #00090B

    #00090B

    oklch(12.8% 0.022 206.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #09021B 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.