#281A30

Closest named color: Dark (#1B2431). oklch(24.6% 0.045 312.6), rgb(40, 26, 48).

Aa

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

About this color

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

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

Values

HEX#281A30
RGBrgb(40, 26, 48)
HSLhsl(278, 30%, 15%)
OKLCHoklch(24.6% 0.045 312.6)

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 #281A30 16.39:1 AAA Lc -105.8 Preferred for body text
Black text on #281A30 1.28:1 Fails Lc 0.0 Not readable
#281A30 text on white 16.39:1 AAA Lc 103.3 Preferred for body text
#281A30 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #E0D4E7

    oklch(88.5% 0.029 313.3)

  4. Step 300

    300

    #CDB7DA

    oklch(80.9% 0.054 313)

  5. Step 400

    400

    #B391C7

    oklch(70.7% 0.086 312.7)

  6. Step 500

    500

    #A075B9

    oklch(63.1% 0.11 312.4)

  7. Step 600

    600

    #8B5DA5

    oklch(55.6% 0.119 312.4)

  8. Step 700

    700

    #764C8D

    oklch(49.1% 0.11 312.7)

  9. Step 800

    800

    #603F72

    oklch(42.7% 0.09 312.8)

  10. Step 900

    900

    #4E365C

    oklch(37.7% 0.07 312.3)

  11. Step 950

    950 (this color)

    #281A30

    oklch(24.6% 0.045 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#281A30 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)#161F310.035
Deuteranopia (no green cones)#19202F0.033
Tritanopia (no blue cones)#271D220.032
Achromatopsia (no color)#1F1F1F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #281A30

    #281A30

    oklch(24.6% 0.045 312.6)

  • #18250E

    #18250E

    oklch(24.6% 0.044 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281A30

    #281A30

    oklch(24.6% 0.045 312.6)

  • #1E1E35

    #1E1E35

    oklch(24.7% 0.043 282.8)

  • #2F1826

    #2F1826

    oklch(24.6% 0.043 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #281A30

    #281A30

    oklch(24.6% 0.045 312.6)

  • #252105

    #252105

    oklch(24.5% 0.044 101.3)

  • #08271A

    #08271A

    oklch(24.5% 0.044 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281A30

    #281A30

    oklch(24.6% 0.045 312.6)

  • #2E1D05

    #2E1D05

    oklch(24.7% 0.045 72.7)

  • #002726

    #002726

    oklch(24.6% 0.042 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281A30

    #281A30

    oklch(24.6% 0.045 312.6)

  • #32190F

    #32190F

    oklch(24.6% 0.044 42.2)

  • #18250E

    #18250E

    oklch(24.6% 0.044 133)

  • #012530

    #012530

    oklch(24.6% 0.045 222.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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