#1B051F

Closest named color: Very Dark Purple (#2A0134). oklch(17.2% 0.06 321.4), rgb(27, 5, 31).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.060)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.08:1
White text19.29:1

Values

HEX#1B051F
RGBrgb(27, 5, 31)
HSLhsl(291, 72%, 7%)
OKLCHoklch(17.2% 0.06 321.4)

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 #1B051F 19.29:1 AAA Lc -107.4 Preferred for body text
Black text on #1B051F 1.08:1 Fails Lc 0.0 Not readable
#1B051F text on white 19.29:1 AAA Lc 105.4 Preferred for body text
#1B051F text on black 1.08: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

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D6B2DD

    oklch(80.9% 0.071 320.8)

  5. Step 400

    400

    #C188CB

    oklch(70.6% 0.114 321.4)

  6. Step 500

    500

    #B169BE

    oklch(63.2% 0.145 321.3)

  7. Step 600

    600

    #9C4EAA

    oklch(55.6% 0.158 321.3)

  8. Step 700

    700

    #853E92

    oklch(49% 0.148 321.2)

  9. Step 800

    800

    #6C3476

    oklch(42.6% 0.121 321.4)

  10. Step 900

    900

    #582E5F

    oklch(37.6% 0.095 321.7)

  11. Step 950

    950 (this color)

    #1B051F

    oklch(17.2% 0.06 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#1B051F 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)#020C200.059
Deuteranopia (no green cones)#070F1E0.052
Tritanopia (no blue cones)#1B08100.036
Achromatopsia (no color)#0E0E0E0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B051F

    #1B051F

    oklch(17.2% 0.06 321.4)

  • #011500

    #011500

    oklch(17.1% 0.056 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B051F

    #1B051F

    oklch(17.2% 0.06 321.4)

  • #110927

    #110927

    oklch(17.2% 0.059 291.3)

  • #210313

    #210313

    oklch(17.1% 0.059 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B051F

    #1B051F

    oklch(17.2% 0.06 321.4)

  • #101100

    #101100

    oklch(17.1% 0.038 112.3)

  • #00140E

    #00140E

    oklch(17% 0.033 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B051F

    #1B051F

    oklch(17.2% 0.06 321.4)

  • #170E00

    #170E00

    oklch(17.1% 0.035 83.4)

  • #001315

    #001315

    oklch(17% 0.029 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B051F

    #1B051F

    oklch(17.2% 0.06 321.4)

  • #1E0900

    #1E0900

    oklch(17.1% 0.044 52.4)

  • #011500

    #011500

    oklch(17.1% 0.056 141.3)

  • #00121C

    #00121C

    oklch(17.1% 0.035 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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