#1B021B

Closest named color: Very Dark Purple (#2A0134). oklch(16.1% 0.065 328.1), rgb(27, 2, 27).

Aa

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

About this color

#1B021B is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.065 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.061 away. White text reads best on it, at 19.60:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.065)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.07:1
White text19.60:1

Values

HEX#1B021B
RGBrgb(27, 2, 27)
HSLhsl(300, 86%, 6%)
OKLCHoklch(16.1% 0.065 328.1)

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 #1B021B 19.60:1 AAA Lc -107.4 Preferred for body text
Black text on #1B021B 1.07:1 Fails Lc 0.0 Not readable
#1B021B text on white 19.60:1 AAA Lc 105.4 Preferred for body text
#1B021B 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E9D0E8

    oklch(88.5% 0.042 327.2)

  4. Step 300

    300

    #DCB0DA

    oklch(81% 0.076 327.7)

  5. Step 400

    400

    #CA84C7

    oklch(70.7% 0.123 328.3)

  6. Step 500

    500

    #BB63B9

    oklch(63.2% 0.157 328.1)

  7. Step 600

    600

    #A647A4

    oklch(55.6% 0.169 328.4)

  8. Step 700

    700

    #8E388D

    oklch(49.2% 0.157 328.1)

  9. Step 800

    800

    #732F72

    oklch(42.7% 0.13 328.1)

  10. Step 900

    900

    #5D2B5C

    oklch(37.7% 0.101 328.1)

  11. Step 950

    950 (this color)

    #1B021B

    oklch(16.1% 0.065 328.1)

Export this scale for Tailwind in the Tailwind colors tool

#1B021B 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)#00091C0.070
Deuteranopia (no green cones)#070D1A0.058
Tritanopia (no blue cones)#1C040C0.036
Achromatopsia (no color)#0C0C0C0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B021B

    #1B021B

    oklch(16.1% 0.065 328.1)

  • #001303

    #001303

    oklch(16.3% 0.047 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B021B

    #1B021B

    oklch(16.1% 0.065 328.1)

  • #120525

    #120525

    oklch(16.2% 0.064 298.3)

  • #21000D

    #21000D

    oklch(16.1% 0.065 358.6)

Open the analogous palette in the generator

Split complementary

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

  • #1B021B

    #1B021B

    oklch(16.1% 0.065 328.1)

  • #0C0F00

    #0C0F00

    oklch(15.9% 0.037 117.5)

  • #00120D

    #00120D

    oklch(16.3% 0.031 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B021B

    #1B021B

    oklch(16.1% 0.065 328.1)

  • #130C00

    #130C00

    oklch(15.9% 0.033 87.5)

  • #001114

    #001114

    oklch(16.2% 0.028 207.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B021B

    #1B021B

    oklch(16.1% 0.065 328.1)

  • #190900

    #190900

    oklch(16.2% 0.038 60.4)

  • #001303

    #001303

    oklch(16.3% 0.047 147.9)

  • #000F1B

    #000F1B

    oklch(16% 0.036 239.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B021B 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.