#281A34

Closest named color: Dark (#1B2431). oklch(24.9% 0.051 307.9), rgb(40, 26, 52).

Aa

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

About this color

#281A34 is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.051 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.041 away. White text reads best on it, at 16.30:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.051)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.30:1

Values

HEX#281A34
RGBrgb(40, 26, 52)
HSLhsl(272, 33%, 15%)
OKLCHoklch(24.9% 0.051 307.9)

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 #281A34 16.30:1 AAA Lc -105.7 Preferred for body text
Black text on #281A34 1.28:1 Fails Lc 0.0 Not readable
#281A34 text on white 16.30:1 AAA Lc 103.2 Preferred for body text
#281A34 text on black 1.28: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

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EB

    oklch(88.6% 0.033 307.1)

  4. Step 300

    300

    #CBB7DF

    oklch(80.9% 0.059 307.6)

  5. Step 400

    400

    #B190CF

    oklch(70.6% 0.097 308)

  6. Step 500

    500

    #9E74C3

    oklch(63.2% 0.123 307.7)

  7. Step 600

    600

    #895BAF

    oklch(55.6% 0.134 307.9)

  8. Step 700

    700

    #744A97

    oklch(49.1% 0.126 307.6)

  9. Step 800

    800

    #5F3D7A

    oklch(42.7% 0.104 308.3)

  10. Step 900

    900

    #4D3562

    oklch(37.7% 0.079 307.6)

  11. Step 950

    950 (this color)

    #281A34

    oklch(24.9% 0.051 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#281A34 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)#141F350.038
Deuteranopia (no green cones)#1820330.034
Tritanopia (no blue cones)#261E240.037
Achromatopsia (no color)#2020200.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #281A34

    #281A34

    oklch(24.9% 0.051 307.9)

  • #1A2608

    #1A2608

    oklch(24.9% 0.052 128.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281A34

    #281A34

    oklch(24.9% 0.051 307.9)

  • #1C1E39

    #1C1E39

    oklch(24.8% 0.051 278.8)

  • #31172A

    #31172A

    oklch(24.9% 0.051 338)

Open the analogous palette in the generator

Split complementary

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

  • #281A34

    #281A34

    oklch(24.9% 0.051 307.9)

  • #282100

    #282100

    oklch(24.8% 0.051 97.5)

  • #062818

    #062818

    oklch(24.7% 0.05 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281A34

    #281A34

    oklch(24.9% 0.051 307.9)

  • #311C02

    #311C02

    oklch(24.9% 0.051 68.7)

  • #002825

    #002825

    oklch(24.9% 0.043 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281A34

    #281A34

    oklch(24.9% 0.051 307.9)

  • #36180E

    #36180E

    oklch(25% 0.051 39)

  • #1A2608

    #1A2608

    oklch(24.9% 0.052 128.1)

  • #00262F

    #00262F

    oklch(24.8% 0.044 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281A34 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.