#15142E

Closest named color: Rich Black (#0D1B2A). oklch(20.8% 0.05 282.8), rgb(21, 20, 46).

Aa

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

About this color

#15142E is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.050 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 17.92:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.92:1

Values

HEX#15142E
RGBrgb(21, 20, 46)
HSLhsl(242, 39%, 13%)
OKLCHoklch(20.8% 0.05 282.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 #15142E 17.92:1 AAA Lc -106.8 Preferred for body text
Black text on #15142E 1.17:1 Fails Lc 0.0 Not readable
#15142E text on white 17.92:1 AAA Lc 104.6 Preferred for body text
#15142E text on black 1.17: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BABCE7

    oklch(80.8% 0.06 282.9)

  5. Step 400

    400

    #9899DB

    oklch(70.7% 0.096 283)

  6. Step 500

    500

    #7F7FD1

    oklch(63.2% 0.122 282.3)

  7. Step 600

    600

    #6A66BE

    oklch(55.6% 0.134 283.2)

  8. Step 700

    700

    #5855A4

    oklch(49.2% 0.123 282.6)

  9. Step 800

    800

    #484685

    oklch(42.8% 0.102 282.6)

  10. Step 900

    900

    #3C3B6A

    oklch(37.7% 0.079 282.9)

  11. Step 950

    950 (this color)

    #15142E

    oklch(20.8% 0.05 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#15142E 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)#0A182F0.020
Deuteranopia (no green cones)#08162D0.021
Tritanopia (no blue cones)#0D191E0.043
Achromatopsia (no color)#1717170.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #15142E

    #15142E

    oklch(20.8% 0.05 282.8)

  • #1C1800

    #1C1800

    oklch(20.7% 0.043 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #15142E

    #15142E

    oklch(20.8% 0.05 282.8)

  • #05182E

    #05182E

    oklch(20.7% 0.051 253.3)

  • #201028

    #201028

    oklch(20.8% 0.051 313.5)

Open the analogous palette in the generator

Split complementary

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

  • #15142E

    #15142E

    oklch(20.8% 0.05 282.8)

  • #241400

    #241400

    oklch(20.8% 0.044 72.7)

  • #0E1D03

    #0E1D03

    oklch(21% 0.052 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #15142E

    #15142E

    oklch(20.8% 0.05 282.8)

  • #2A0F04

    #2A0F04

    oklch(20.8% 0.05 43.7)

  • #001E12

    #001E12

    oklch(20.8% 0.045 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #15142E

    #15142E

    oklch(20.8% 0.05 282.8)

  • #2B0C11

    #2B0C11

    oklch(20.8% 0.052 12.9)

  • #1C1800

    #1C1800

    oklch(20.7% 0.043 101.2)

  • #001D1C

    #001D1C

    oklch(20.8% 0.036 191.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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