#1B0417

Closest named color: Very Dark Brown (#1D0200). oklch(16.3% 0.054 334.8), rgb(27, 4, 23).

Aa

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

About this color

#1B0417 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.054 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.055 away. White text reads best on it, at 19.51:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.054)
Temperaturein between
Nearest nameVery Dark Brown (#1D0200)
Black text1.07:1
White text19.51:1

Values

HEX#1B0417
RGBrgb(27, 4, 23)
HSLhsl(310, 74%, 6%)
OKLCHoklch(16.3% 0.054 334.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 #1B0417 19.51:1 AAA Lc -107.5 Preferred for body text
Black text on #1B0417 1.07:1 Fails Lc 0.0 Not readable
#1B0417 text on white 19.51:1 AAA Lc 105.5 Preferred for body text
#1B0417 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DBB2D1

    oklch(80.9% 0.063 334.9)

  5. Step 400

    400

    #C888BA

    oklch(70.7% 0.102 334.8)

  6. Step 500

    500

    #B969A9

    oklch(63.2% 0.131 334.8)

  7. Step 600

    600

    #A44F94

    oklch(55.7% 0.141 334.9)

  8. Step 700

    700

    #8C3F7E

    oklch(49.1% 0.132 334.8)

  9. Step 800

    800

    #723567

    oklch(42.8% 0.109 334.6)

  10. Step 900

    900

    #5C2E53

    oklch(37.6% 0.085 334.9)

  11. Step 950

    950 (this color)

    #1B0417

    oklch(16.3% 0.054 334.8)

Export this scale for Tailwind in the Tailwind colors tool

#1B0417 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)#040A180.057
Deuteranopia (no green cones)#0A0E160.051
Tritanopia (no blue cones)#1D050B0.028
Achromatopsia (no color)#0C0C0C0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B0417

    #1B0417

    oklch(16.3% 0.054 334.8)

  • #001306

    #001306

    oklch(16.4% 0.041 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B0417

    #1B0417

    oklch(16.3% 0.054 334.8)

  • #130620

    #130620

    oklch(16.1% 0.055 304.5)

  • #1F030B

    #1F030B

    oklch(16.3% 0.053 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B0417

    #1B0417

    oklch(16.3% 0.054 334.8)

  • #0A1100

    #0A1100

    oklch(16.4% 0.041 125.2)

  • #001210

    #001210

    oklch(16.4% 0.029 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B0417

    #1B0417

    oklch(16.3% 0.054 334.8)

  • #130E00

    #130E00

    oklch(16.5% 0.034 95)

  • #001116

    #001116

    oklch(16.4% 0.029 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B0417

    #1B0417

    oklch(16.3% 0.054 334.8)

  • #190A00

    #190A00

    oklch(16.4% 0.037 63.9)

  • #001306

    #001306

    oklch(16.4% 0.041 154.1)

  • #000F1E

    #000F1E

    oklch(16.3% 0.041 244.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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