#28103F

Closest named color: Dark Purple (#35063E). oklch(23.8% 0.086 304), rgb(40, 16, 63).

Aa

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

About this color

#28103F is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.086 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.034 away. White text reads best on it, at 16.98:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.23:1
White text16.98:1

Values

HEX#28103F
RGBrgb(40, 16, 63)
HSLhsl(271, 59%, 15%)
OKLCHoklch(23.8% 0.086 304)

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 #28103F 16.98:1 AAA Lc -106.0 Preferred for body text
Black text on #28103F 1.23:1 Fails Lc 0.0 Not readable
#28103F text on white 16.98:1 AAA Lc 103.6 Preferred for body text
#28103F text on black 1.23: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FA

    oklch(93.5% 0.03 305.1)

  3. Step 200

    200

    #E1D1F8

    oklch(88.6% 0.056 303.9)

  4. Step 300

    300

    #CFB0F7

    oklch(80.9% 0.103 304.2)

  5. Step 400

    400

    #B783F2

    oklch(70.6% 0.164 304.1)

  6. Step 500

    500

    #A65FEE

    oklch(63.2% 0.209 303.9)

  7. Step 600

    600

    #923EDC

    oklch(55.6% 0.228 304.1)

  8. Step 700

    700

    #7C2EBF

    oklch(49.1% 0.212 303.8)

  9. Step 800

    800

    #65299A

    oklch(42.7% 0.174 304.1)

  10. Step 900

    900

    #52287B

    oklch(37.8% 0.136 303.8)

  11. Step 950

    950 (this color)

    #28103F

    oklch(23.8% 0.086 304)

Export this scale for Tailwind in the Tailwind colors tool

#28103F 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)#001C400.068
Deuteranopia (no green cones)#031C3E0.065
Tritanopia (no blue cones)#241A250.063
Achromatopsia (no color)#1C1C1C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #28103F

    #28103F

    oklch(23.8% 0.086 304)

  • #192300

    #192300

    oklch(23.8% 0.059 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28103F

    #28103F

    oklch(23.8% 0.086 304)

  • #141847

    #141847

    oklch(23.9% 0.087 274.1)

  • #35092F

    #35092F

    oklch(23.8% 0.086 334)

Open the analogous palette in the generator

Split complementary

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

  • #28103F

    #28103F

    oklch(23.8% 0.086 304)

  • #261E00

    #261E00

    oklch(23.7% 0.049 94.7)

  • #002711

    #002711

    oklch(23.9% 0.06 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28103F

    #28103F

    oklch(23.8% 0.086 304)

  • #301800

    #301800

    oklch(23.8% 0.054 63.5)

  • #002521

    #002521

    oklch(23.8% 0.042 184.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28103F

    #28103F

    oklch(23.8% 0.086 304)

  • #3E0700

    #3E0700

    oklch(23.7% 0.086 33.8)

  • #192300

    #192300

    oklch(23.8% 0.059 124)

  • #00242B

    #00242B

    oklch(23.9% 0.042 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28103F 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.