#331950

Closest named color: Dark Purple (#35063E). oklch(28.1% 0.097 302.3), rgb(51, 25, 80).

Aa

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

About this color

#331950 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.097 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.049 away. White text reads best on it, at 15.04:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.39:1
White text15.04:1

Values

HEX#331950
RGBrgb(51, 25, 80)
HSLhsl(268, 52%, 21%)
OKLCHoklch(28.1% 0.097 302.3)

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 #331950 15.04:1 AAA Lc -104.5 Preferred for body text
Black text on #331950 1.39:1 Fails Lc 0.0 Not readable
#331950 text on white 15.04:1 AAA Lc 101.6 Preferred for body text
#331950 text on black 1.39: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E1D0FD

    oklch(88.6% 0.064 302.3)

  4. Step 300

    300

    #CFAFFF

    oklch(81% 0.115 302.3)

  5. Step 400

    400

    #B77FFE

    oklch(70.6% 0.185 302.3)

  6. Step 500

    500

    #A757FC

    oklch(63.2% 0.235 302.4)

  7. Step 600

    600

    #9330EB

    oklch(55.6% 0.256 302.3)

  8. Step 700

    700

    #7D1ECD

    oklch(49.1% 0.239 302)

  9. Step 800

    800

    #661EA5

    oklch(42.7% 0.197 302.5)

  10. Step 900

    900

    #532283

    oklch(37.8% 0.154 302.6)

  11. Step 950

    950 (this color)

    #331950

    oklch(28.1% 0.097 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#331950 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)#0026520.076
Deuteranopia (no green cones)#07264F0.071
Tritanopia (no blue cones)#2D25310.074
Achromatopsia (no color)#2626260.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #331950

    #331950

    oklch(28.1% 0.097 302.3)

  • #242E00

    #242E00

    oklch(28.2% 0.068 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331950

    #331950

    oklch(28.1% 0.097 302.3)

  • #1A2258

    #1A2258

    oklch(28.1% 0.097 272.2)

  • #43113E

    #43113E

    oklch(28.2% 0.098 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #331950

    #331950

    oklch(28.1% 0.097 302.3)

  • #332800

    #332800

    oklch(28.1% 0.058 92.9)

  • #003316

    #003316

    oklch(28.1% 0.073 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331950

    #331950

    oklch(28.1% 0.097 302.3)

  • #3F2100

    #3F2100

    oklch(28.2% 0.064 63.2)

  • #00312B

    #00312B

    oklch(28.1% 0.05 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331950

    #331950

    oklch(28.1% 0.097 302.3)

  • #4F0E04

    #4F0E04

    oklch(28.2% 0.098 32.3)

  • #242E00

    #242E00

    oklch(28.2% 0.068 121.7)

  • #002F37

    #002F37

    oklch(28% 0.049 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #331950 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.