#331043

Closest named color: Dark Purple (#35063E). oklch(25.7% 0.095 313.2), rgb(51, 16, 67).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.29:1
White text16.20:1

Values

HEX#331043
RGBrgb(51, 16, 67)
HSLhsl(281, 61%, 16%)
OKLCHoklch(25.7% 0.095 313.2)

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 #331043 16.20:1 AAA Lc -105.4 Preferred for body text
Black text on #331043 1.29:1 Fails Lc 0.0 Not readable
#331043 text on white 16.20:1 AAA Lc 102.7 Preferred for body text
#331043 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CEF7

    oklch(88.6% 0.062 313.2)

  4. Step 300

    300

    #DAABF4

    oklch(80.9% 0.112 313.2)

  5. Step 400

    400

    #C87AEF

    oklch(70.8% 0.18 313.4)

  6. Step 500

    500

    #B94FE9

    oklch(63.1% 0.231 313.4)

  7. Step 600

    600

    #A526D7

    oklch(55.6% 0.251 313.5)

  8. Step 700

    700

    #8D13BB

    oklch(49.1% 0.234 313.2)

  9. Step 800

    800

    #721797

    oklch(42.6% 0.193 313.1)

  10. Step 900

    900

    #5D1E78

    oklch(37.8% 0.15 313.6)

  11. Step 950

    950 (this color)

    #331043

    oklch(25.7% 0.095 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#331043 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)#001F450.088
Deuteranopia (no green cones)#0C21420.078
Tritanopia (no blue cones)#311A280.062
Achromatopsia (no color)#2020200.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #331043

    #331043

    oklch(25.7% 0.095 313.2)

  • #142A00

    #142A00

    oklch(25.6% 0.073 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331043

    #331043

    oklch(25.7% 0.095 313.2)

  • #20194F

    #20194F

    oklch(25.9% 0.095 283.4)

  • #40082F

    #40082F

    oklch(25.8% 0.096 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #331043

    #331043

    oklch(25.7% 0.095 313.2)

  • #282400

    #282400

    oklch(25.7% 0.054 103.3)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331043

    #331043

    oklch(25.7% 0.095 313.2)

  • #331E00

    #331E00

    oklch(25.6% 0.055 72.3)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331043

    #331043

    oklch(25.7% 0.095 313.2)

  • #401300

    #401300

    oklch(25.7% 0.077 42.8)

  • #142A00

    #142A00

    oklch(25.6% 0.073 133.1)

  • #002834

    #002834

    oklch(25.7% 0.048 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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