#281B48

Closest named color: Oxford Blue (#1B263B). oklch(26.5% 0.081 293.5), rgb(40, 27, 72).

Aa

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

About this color

#281B48 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.081 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.049 away. White text reads best on it, at 15.66:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.66:1

Values

HEX#281B48
RGBrgb(40, 27, 72)
HSLhsl(257, 45%, 19%)
OKLCHoklch(26.5% 0.081 293.5)

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 #281B48 15.66:1 AAA Lc -105.1 Preferred for body text
Black text on #281B48 1.34:1 Fails Lc 0.0 Not readable
#281B48 text on white 15.66:1 AAA Lc 102.4 Preferred for body text
#281B48 text on black 1.34: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C3B5F9

    oklch(80.9% 0.096 293.6)

  5. Step 400

    400

    #A68CF6

    oklch(70.8% 0.152 293.4)

  6. Step 500

    500

    #926AF2

    oklch(63% 0.196 293.6)

  7. Step 600

    600

    #7E4DE1

    oklch(55.6% 0.213 293.5)

  8. Step 700

    700

    #6A3DC3

    oklch(49.1% 0.197 293.2)

  9. Step 800

    800

    #57339E

    oklch(42.7% 0.164 293.7)

  10. Step 900

    900

    #472F7D

    oklch(37.8% 0.126 293.6)

  11. Step 950

    950 (this color)

    #281B48

    oklch(26.5% 0.081 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#281B48 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)#05244A0.052
Deuteranopia (no green cones)#0822470.049
Tritanopia (no blue cones)#20252E0.066
Achromatopsia (no color)#2323230.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #281B48

    #281B48

    oklch(26.5% 0.081 293.5)

  • #252800

    #252800

    oklch(26.5% 0.06 114)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281B48

    #281B48

    oklch(26.5% 0.081 293.5)

  • #10224C

    #10224C

    oklch(26.4% 0.081 264.1)

  • #37153B

    #37153B

    oklch(26.5% 0.079 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #281B48

    #281B48

    oklch(26.5% 0.081 293.5)

  • #322200

    #322200

    oklch(26.5% 0.054 82.4)

  • #042E06

    #042E06

    oklch(26.3% 0.08 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281B48

    #281B48

    oklch(26.5% 0.081 293.5)

  • #3D1A00

    #3D1A00

    oklch(26.4% 0.067 53.6)

  • #002D23

    #002D23

    oklch(26.5% 0.051 173.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281B48

    #281B48

    oklch(26.5% 0.081 293.5)

  • #451011

    #451011

    oklch(26.6% 0.081 23.6)

  • #252800

    #252800

    oklch(26.5% 0.06 114)

  • #002B2F

    #002B2F

    oklch(26.4% 0.045 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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