#311550

Closest named color: Dark Purple (#35063E). oklch(27.3% 0.103 301.6), rgb(49, 21, 80).

Aa

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

About this color

#311550 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.103 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.044 away. White text reads best on it, at 15.51:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.35:1
White text15.51:1

Values

HEX#311550
RGBrgb(49, 21, 80)
HSLhsl(268, 58%, 20%)
OKLCHoklch(27.3% 0.103 301.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 #311550 15.51:1 AAA Lc -104.8 Preferred for body text
Black text on #311550 1.35:1 Fails Lc 0.0 Not readable
#311550 text on white 15.51:1 AAA Lc 102.1 Preferred for body text
#311550 text on black 1.35: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A656FF

    oklch(63.1% 0.239 301.5)

  7. Step 600

    600

    #9425F3

    oklch(55.6% 0.271 301.7)

  8. Step 700

    700

    #7E0FD4

    oklch(49.1% 0.253 301.4)

  9. Step 800

    800

    #6616AB

    oklch(42.6% 0.209 301.4)

  10. Step 900

    900

    #531E87

    oklch(37.6% 0.163 301.8)

  11. Step 950

    950 (this color)

    #311550

    oklch(27.3% 0.103 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#311550 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)#0024520.076
Deuteranopia (no green cones)#00244F0.077
Tritanopia (no blue cones)#2A23300.078
Achromatopsia (no color)#2424240.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #311550

    #311550

    oklch(27.3% 0.103 301.6)

  • #222C00

    #222C00

    oklch(27.4% 0.066 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311550

    #311550

    oklch(27.3% 0.103 301.6)

  • #171F58

    #171F58

    oklch(27.2% 0.102 271.7)

  • #410C3D

    #410C3D

    oklch(27.2% 0.103 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #311550

    #311550

    oklch(27.3% 0.103 301.6)

  • #312600

    #312600

    oklch(27.3% 0.056 92.2)

  • #003114

    #003114

    oklch(27.4% 0.073 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311550

    #311550

    oklch(27.3% 0.103 301.6)

  • #3C1F00

    #3C1F00

    oklch(27.3% 0.062 62.9)

  • #002F29

    #002F29

    oklch(27.4% 0.049 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311550

    #311550

    oklch(27.3% 0.103 301.6)

  • #4E0701

    #4E0701

    oklch(27.3% 0.103 31.4)

  • #222C00

    #222C00

    oklch(27.4% 0.066 122)

  • #002D34

    #002D34

    oklch(27.2% 0.047 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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