#281C30

Closest named color: Dark (#1B2431). oklch(25.1% 0.04 311.1), rgb(40, 28, 48).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.040)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.16:1

Values

HEX#281C30
RGBrgb(40, 28, 48)
HSLhsl(276, 26%, 15%)
OKLCHoklch(25.1% 0.04 311.1)

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 #281C30 16.16:1 AAA Lc -105.6 Preferred for body text
Black text on #281C30 1.29:1 Fails Lc 0.0 Not readable
#281C30 text on white 16.16:1 AAA Lc 103.1 Preferred for body text
#281C30 text on black 1.29: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

    #DFD4E6

    oklch(88.4% 0.027 312.6)

  4. Step 300

    300

    #CBB8D8

    oklch(80.9% 0.049 311.7)

  5. Step 400

    400

    #B093C4

    oklch(70.6% 0.077 311.2)

  6. Step 500

    500

    #9D78B5

    oklch(63.1% 0.098 311.5)

  7. Step 600

    600

    #8760A1

    oklch(55.5% 0.107 310.9)

  8. Step 700

    700

    #734F8A

    oklch(49.1% 0.1 311.2)

  9. Step 800

    800

    #5D4170

    oklch(42.6% 0.082 310.7)

  10. Step 900

    900

    #4C375A

    oklch(37.5% 0.064 311.1)

  11. Step 950

    950 (this color)

    #281C30

    oklch(25.1% 0.04 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#281C30 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)#1820310.031
Deuteranopia (no green cones)#1B212F0.028
Tritanopia (no blue cones)#271F230.030
Achromatopsia (no color)#2121210.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #281C30

    #281C30

    oklch(25.1% 0.04 311.1)

  • #1B2611

    #1B2611

    oklch(25.2% 0.04 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281C30

    #281C30

    oklch(25.1% 0.04 311.1)

  • #1E1F35

    #1E1F35

    oklch(25% 0.041 281)

  • #2F1A27

    #2F1A27

    oklch(25.1% 0.04 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #281C30

    #281C30

    oklch(25.1% 0.04 311.1)

  • #262209

    #262209

    oklch(25% 0.04 100.3)

  • #0D281B

    #0D281B

    oklch(25.1% 0.042 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281C30

    #281C30

    oklch(25.1% 0.04 311.1)

  • #2E1E0A

    #2E1E0A

    oklch(25% 0.04 70.1)

  • #032826

    #032826

    oklch(25.1% 0.041 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281C30

    #281C30

    oklch(25.1% 0.04 311.1)

  • #321B12

    #321B12

    oklch(25.1% 0.04 42)

  • #1B2611

    #1B2611

    oklch(25.2% 0.04 131.3)

  • #06262F

    #06262F

    oklch(25% 0.04 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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