#150520

Closest named color: Midnight (#03012D). oklch(16.2% 0.058 309.3), rgb(21, 5, 32).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.058)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.54:1

Values

HEX#150520
RGBrgb(21, 5, 32)
HSLhsl(276, 73%, 7%)
OKLCHoklch(16.2% 0.058 309.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 #150520 19.54:1 AAA Lc -107.5 Preferred for body text
Black text on #150520 1.07:1 Fails Lc 0.0 Not readable
#150520 text on white 19.54:1 AAA Lc 105.5 Preferred for body text
#150520 text on black 1.07: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D3ED

    oklch(88.6% 0.038 309.6)

  4. Step 300

    300

    #CEB5E3

    oklch(80.9% 0.069 309.4)

  5. Step 400

    400

    #B58DD5

    oklch(70.7% 0.111 309.2)

  6. Step 500

    500

    #A36FC9

    oklch(63.1% 0.141 309.5)

  7. Step 600

    600

    #8E55B6

    oklch(55.6% 0.154 309.4)

  8. Step 700

    700

    #78459C

    oklch(49% 0.142 309.2)

  9. Step 800

    800

    #62397F

    oklch(42.7% 0.118 309.3)

  10. Step 900

    900

    #503266

    oklch(37.7% 0.092 309.3)

  11. Step 950

    950 (this color)

    #150520

    oklch(16.2% 0.058 309.3)

Export this scale for Tailwind in the Tailwind colors tool

#150520 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)#000B210.051
Deuteranopia (no green cones)#030C1F0.045
Tritanopia (no blue cones)#130A110.040
Achromatopsia (no color)#0C0C0C0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #150520

    #150520

    oklch(16.2% 0.058 309.3)

  • #081100

    #081100

    oklch(16.2% 0.043 128.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #150520

    #150520

    oklch(16.2% 0.058 309.3)

  • #0A0926

    #0A0926

    oklch(16.3% 0.058 279.4)

  • #1C0316

    #1C0316

    oklch(16.2% 0.057 338)

Open the analogous palette in the generator

Split complementary

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

  • #150520

    #150520

    oklch(16.2% 0.058 309.3)

  • #110E00

    #110E00

    oklch(16.2% 0.034 101)

  • #001208

    #001208

    oklch(16.1% 0.036 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #150520

    #150520

    oklch(16.2% 0.058 309.3)

  • #170A00

    #170A00

    oklch(16.1% 0.035 68.4)

  • #001110

    #001110

    oklch(16% 0.028 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #150520

    #150520

    oklch(16.2% 0.058 309.3)

  • #1F0400

    #1F0400

    oklch(16.1% 0.052 38.6)

  • #081100

    #081100

    oklch(16.2% 0.043 128.8)

  • #001016

    #001016

    oklch(16% 0.029 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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