#3D255C

Closest named color: Space Cadet (#2B2D42). oklch(32.4% 0.096 301.4), rgb(61, 37, 92).

Aa

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

About this color

#3D255C 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.065 away. White text reads best on it, at 12.98:1.

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

Values

HEX#3D255C
RGBrgb(61, 37, 92)
HSLhsl(266, 43%, 25%)
OKLCHoklch(32.4% 0.096 301.4)

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 #3D255C 12.98:1 AAA Lc -102.3 Preferred for body text
Black text on #3D255C 1.61:1 Fails Lc 0.0 Not readable
#3D255C text on white 12.98:1 AAA Lc 99.0 Preferred for body text
#3D255C text on black 1.61: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 900.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD4F0

    oklch(88.6% 0.039 300.2)

  4. Step 300

    300

    #C8B6E8

    oklch(80.8% 0.072 301.3)

  5. Step 400

    400

    #AD8FDD

    oklch(70.7% 0.115 301.2)

  6. Step 500

    500

    #9A71D3

    oklch(63.1% 0.147 301.6)

  7. Step 600

    600

    #8557C0

    oklch(55.5% 0.16 301.6)

  8. Step 700

    700

    #7147A6

    oklch(49.2% 0.149 301.6)

  9. Step 800

    800

    #5C3B86

    oklch(42.8% 0.122 301.8)

  10. Step 900

    900 (this color)

    #3D255C

    oklch(32.4% 0.096 301.4)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#3D255C 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)#0F315E0.071
Deuteranopia (no green cones)#17315B0.065
Tritanopia (no blue cones)#37303C0.073
Achromatopsia (no color)#3131310.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D255C

    #3D255C

    oklch(32.4% 0.096 301.4)

  • #2E3900

    #2E3900

    oklch(32.3% 0.077 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D255C

    #3D255C

    oklch(32.4% 0.096 301.4)

  • #232E64

    #232E64

    oklch(32.4% 0.096 271.4)

  • #4E1E4A

    #4E1E4A

    oklch(32.4% 0.095 330.8)

Open the analogous palette in the generator

Split complementary

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

  • #3D255C

    #3D255C

    oklch(32.4% 0.096 301.4)

  • #403200

    #403200

    oklch(32.3% 0.066 91.6)

  • #00401B

    #00401B

    oklch(32.5% 0.087 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D255C

    #3D255C

    oklch(32.4% 0.096 301.4)

  • #4E2900

    #4E2900

    oklch(32.3% 0.075 61.5)

  • #003D36

    #003D36

    oklch(32.3% 0.058 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D255C

    #3D255C

    oklch(32.4% 0.096 301.4)

  • #5B1B11

    #5B1B11

    oklch(32.3% 0.096 31.5)

  • #2E3900

    #2E3900

    oklch(32.3% 0.077 120.9)

  • #003B44

    #003B44

    oklch(32.3% 0.056 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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