#1B1835

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.055 286), rgb(27, 24, 53).

Aa

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

About this color

#1B1835 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.055 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 17.09:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.09:1

Values

HEX#1B1835
RGBrgb(27, 24, 53)
HSLhsl(246, 38%, 15%)
OKLCHoklch(22.9% 0.055 286)

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 #1B1835 17.09:1 AAA Lc -106.3 Preferred for body text
Black text on #1B1835 1.22:1 Fails Lc 0.0 Not readable
#1B1835 text on white 17.09:1 AAA Lc 103.9 Preferred for body text
#1B1835 text on black 1.22: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BCBBE9

    oklch(80.8% 0.065 285.9)

  5. Step 400

    400

    #9B97DF

    oklch(70.8% 0.104 285.9)

  6. Step 500

    500

    #837CD5

    oklch(63.1% 0.131 285.6)

  7. Step 600

    600

    #6E63C3

    oklch(55.6% 0.145 285.9)

  8. Step 700

    700

    #5C51A8

    oklch(49% 0.135 286.1)

  9. Step 800

    800

    #4B4388

    oklch(42.7% 0.111 286)

  10. Step 900

    900

    #3E396D

    oklch(37.6% 0.087 285.8)

  11. Step 950

    950 (this color)

    #1B1835

    oklch(22.9% 0.055 286)

Export this scale for Tailwind in the Tailwind colors tool

#1B1835 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)#0D1D360.025
Deuteranopia (no green cones)#0C1B340.025
Tritanopia (no blue cones)#131E230.048
Achromatopsia (no color)#1C1C1C0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B1835

    #1B1835

    oklch(22.9% 0.055 286)

  • #201E00

    #201E00

    oklch(23% 0.049 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B1835

    #1B1835

    oklch(22.9% 0.055 286)

  • #0A1D36

    #0A1D36

    oklch(23% 0.055 256.2)

  • #27142E

    #27142E

    oklch(23.1% 0.055 316.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B1835

    #1B1835

    oklch(22.9% 0.055 286)

  • #291900

    #291900

    oklch(22.9% 0.048 76.8)

  • #102206

    #102206

    oklch(22.8% 0.055 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B1835

    #1B1835

    oklch(22.9% 0.055 286)

  • #311304

    #311304

    oklch(22.9% 0.055 46.4)

  • #002417

    #002417

    oklch(23.1% 0.049 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B1835

    #1B1835

    oklch(22.9% 0.055 286)

  • #321014

    #321014

    oklch(22.9% 0.055 15.4)

  • #201E00

    #201E00

    oklch(23% 0.049 106.1)

  • #002223

    #002223

    oklch(22.9% 0.039 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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