#3B235A

Closest named color: Space Cadet (#2B2D42). oklch(31.6% 0.096 301.2), rgb(59, 35, 90).

Aa

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

About this color

#3B235A is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.096 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.063 away. White text reads best on it, at 13.34:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.57:1
White text13.34:1

Values

HEX#3B235A
RGBrgb(59, 35, 90)
HSLhsl(266, 44%, 25%)
OKLCHoklch(31.6% 0.096 301.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 #3B235A 13.34:1 AAA Lc -102.7 Preferred for body text
Black text on #3B235A 1.57:1 Fails Lc 0.0 Not readable
#3B235A text on white 13.34:1 AAA Lc 99.5 Preferred for body text
#3B235A text on black 1.57: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

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CDAFFE

    oklch(80.8% 0.113 301.3)

  5. Step 400

    400

    #B581FE

    oklch(70.7% 0.181 301.1)

  6. Step 500

    500

    #A459FC

    oklch(63.1% 0.232 301.1)

  7. Step 600

    600

    #9134EB

    oklch(55.7% 0.252 301.3)

  8. Step 700

    700

    #7B22CC

    oklch(49% 0.235 301.2)

  9. Step 800

    800

    #6421A5

    oklch(42.7% 0.194 301.3)

  10. Step 900

    900

    #512383

    oklch(37.6% 0.152 301.2)

  11. Step 950

    950 (this color)

    #3B235A

    oklch(31.6% 0.096 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#3B235A 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)#0B2F5C0.072
Deuteranopia (no green cones)#142F590.066
Tritanopia (no blue cones)#352E3A0.073
Achromatopsia (no color)#2F2F2F0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B235A

    #3B235A

    oklch(31.6% 0.096 301.2)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B235A

    #3B235A

    oklch(31.6% 0.096 301.2)

  • #212C62

    #212C62

    oklch(31.6% 0.096 271.2)

  • #4C1B48

    #4C1B48

    oklch(31.6% 0.097 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #3B235A

    #3B235A

    oklch(31.6% 0.096 301.2)

  • #3E3000

    #3E3000

    oklch(31.6% 0.065 91.1)

  • #003D1A

    #003D1A

    oklch(31.5% 0.084 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B235A

    #3B235A

    oklch(31.6% 0.096 301.2)

  • #4C2800

    #4C2800

    oklch(31.8% 0.073 61.8)

  • #003B34

    #003B34

    oklch(31.6% 0.057 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B235A

    #3B235A

    oklch(31.6% 0.096 301.2)

  • #591910

    #591910

    oklch(31.7% 0.096 30.9)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

  • #003942

    #003942

    oklch(31.6% 0.055 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3B235A 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.