#18102E

Closest named color: Rich Black (#0D1B2A). oklch(20.2% 0.058 292.8), rgb(24, 16, 46).

Aa

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

About this color

#18102E is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.058 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.042 away. White text reads best on it, at 18.22:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.058)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.22:1

Values

HEX#18102E
RGBrgb(24, 16, 46)
HSLhsl(256, 48%, 12%)
OKLCHoklch(20.2% 0.058 292.8)

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 #18102E 18.22:1 AAA Lc -107.0 Preferred for body text
Black text on #18102E 1.15:1 Fails Lc 0.0 Not readable
#18102E text on white 18.22:1 AAA Lc 104.8 Preferred for body text
#18102E text on black 1.15: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

    #D9D5F1

    oklch(88.5% 0.038 292.2)

  4. Step 300

    300

    #C1B9EA

    oklch(80.9% 0.069 292.3)

  5. Step 400

    400

    #A393DF

    oklch(70.6% 0.11 293)

  6. Step 500

    500

    #8D77D6

    oklch(63.1% 0.14 292.6)

  7. Step 600

    600

    #785EC3

    oklch(55.6% 0.152 292.6)

  8. Step 700

    700

    #654DA8

    oklch(49.1% 0.14 292.6)

  9. Step 800

    800

    #523F88

    oklch(42.5% 0.117 292.7)

  10. Step 900

    900

    #44376D

    oklch(37.8% 0.09 292.6)

  11. Step 950

    950 (this color)

    #18102E

    oklch(20.2% 0.058 292.8)

Export this scale for Tailwind in the Tailwind colors tool

#18102E 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)#04162F0.036
Deuteranopia (no green cones)#05152D0.034
Tritanopia (no blue cones)#12161C0.047
Achromatopsia (no color)#1515150.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #18102E

    #18102E

    oklch(20.2% 0.058 292.8)

  • #171800

    #171800

    oklch(20.1% 0.044 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18102E

    #18102E

    oklch(20.2% 0.058 292.8)

  • #081530

    #081530

    oklch(20.2% 0.057 262.8)

  • #220C26

    #220C26

    oklch(20.2% 0.058 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #18102E

    #18102E

    oklch(20.2% 0.058 292.8)

  • #201400

    #201400

    oklch(20.2% 0.042 81)

  • #041D04

    #041D04

    oklch(20.3% 0.057 143.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18102E

    #18102E

    oklch(20.2% 0.058 292.8)

  • #280E00

    #280E00

    oklch(20.2% 0.052 52)

  • #001C15

    #001C15

    oklch(20.2% 0.039 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18102E

    #18102E

    oklch(20.2% 0.058 292.8)

  • #2C090A

    #2C090A

    oklch(20.3% 0.058 22.2)

  • #171800

    #171800

    oklch(20.1% 0.044 111.8)

  • #001B1D

    #001B1D

    oklch(20.2% 0.034 201.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18102E 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.