#15062D

Closest named color: Midnight Purple (#280137). oklch(17.7% 0.074 295.8), rgb(21, 6, 45).

Aa

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

About this color

#15062D is a very dark, moderately saturated purple. In OKLCH its lightness is 18%, its chroma 0.074 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.050 away. White text reads best on it, at 19.16:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.09:1
White text19.16:1

Values

HEX#15062D
RGBrgb(21, 6, 45)
HSLhsl(263, 76%, 10%)
OKLCHoklch(17.7% 0.074 295.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 #15062D 19.16:1 AAA Lc -107.3 Preferred for body text
Black text on #15062D 1.09:1 Fails Lc 0.0 Not readable
#15062D text on white 19.16:1 AAA Lc 105.3 Preferred for body text
#15062D text on black 1.09: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F7

    oklch(88.5% 0.05 295.5)

  4. Step 300

    300

    #C5B5F4

    oklch(80.8% 0.089 296)

  5. Step 400

    400

    #A98DEE

    oklch(70.8% 0.14 295.9)

  6. Step 500

    500

    #956DE8

    oklch(63.2% 0.179 295.9)

  7. Step 600

    600

    #8051D6

    oklch(55.6% 0.195 295.7)

  8. Step 700

    700

    #6D40BA

    oklch(49.1% 0.182 295.9)

  9. Step 800

    800

    #583696

    oklch(42.6% 0.15 295.7)

  10. Step 900

    900

    #483078

    oklch(37.7% 0.118 295.5)

  11. Step 950

    950 (this color)

    #15062D

    oklch(17.7% 0.074 295.8)

Export this scale for Tailwind in the Tailwind colors tool

#15062D 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)#000F2E0.046
Deuteranopia (no green cones)#000E2C0.046
Tritanopia (no blue cones)#0F10180.059
Achromatopsia (no color)#0F0F0F0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #15062D

    #15062D

    oklch(17.7% 0.074 295.8)

  • #101300

    #101300

    oklch(17.7% 0.041 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #15062D

    #15062D

    oklch(17.7% 0.074 295.8)

  • #030C31

    #030C31

    oklch(17.6% 0.075 265.5)

  • #200222

    #200222

    oklch(17.7% 0.075 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #15062D

    #15062D

    oklch(17.7% 0.074 295.8)

  • #180F00

    #180F00

    oklch(17.6% 0.036 84.2)

  • #001702

    #001702

    oklch(17.8% 0.056 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #15062D

    #15062D

    oklch(17.7% 0.074 295.8)

  • #1F0B00

    #1F0B00

    oklch(17.8% 0.043 56.2)

  • #001610

    #001610

    oklch(17.9% 0.034 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #15062D

    #15062D

    oklch(17.7% 0.074 295.8)

  • #290001

    #290001

    oklch(17.7% 0.072 26.8)

  • #101300

    #101300

    oklch(17.7% 0.041 116.6)

  • #001517

    #001517

    oklch(17.8% 0.03 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #15062D 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.