#3D2147

Closest named color: Space Cadet (#2B2D42). oklch(30.2% 0.074 316.6), rgb(61, 33, 71).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.93:1

Values

HEX#3D2147
RGBrgb(61, 33, 71)
HSLhsl(284, 37%, 20%)
OKLCHoklch(30.2% 0.074 316.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 #3D2147 13.93:1 AAA Lc -103.4 Preferred for body text
Black text on #3D2147 1.50:1 Fails Lc 0.0 Not readable
#3D2147 text on white 13.93:1 AAA Lc 100.4 Preferred for body text
#3D2147 text on black 1.50: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  5. Step 400

    400

    #C383DB

    oklch(70.7% 0.141 316.4)

  6. Step 500

    500

    #B360D1

    oklch(63% 0.181 316.3)

  7. Step 600

    600

    #9F43BE

    oklch(55.7% 0.196 316.5)

  8. Step 700

    700

    #8833A3

    oklch(49.1% 0.182 316.9)

  9. Step 800

    800

    #6E2C84

    oklch(42.7% 0.15 316.6)

  10. Step 900

    900

    #59296A

    oklch(37.6% 0.117 316.4)

  11. Step 950

    950 (this color)

    #3D2147

    oklch(30.2% 0.074 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#3D2147 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)#1A2A480.065
Deuteranopia (no green cones)#222D460.058
Tritanopia (no blue cones)#3D26300.049
Achromatopsia (no color)#2C2C2C0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D2147

    #3D2147

    oklch(30.2% 0.074 316.6)

  • #1B370D

    #1B370D

    oklch(30.4% 0.075 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D2147

    #3D2147

    oklch(30.2% 0.074 316.6)

  • #2C2752

    #2C2752

    oklch(30.2% 0.076 286.3)

  • #481D36

    #481D36

    oklch(30.3% 0.074 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #3D2147

    #3D2147

    oklch(30.2% 0.074 316.6)

  • #333000

    #333000

    oklch(30.3% 0.064 105.9)

  • #003827

    #003827

    oklch(30.2% 0.063 166.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D2147

    #3D2147

    oklch(30.2% 0.074 316.6)

  • #402900

    #402900

    oklch(30.2% 0.063 76.2)

  • #003637

    #003637

    oklch(30.2% 0.051 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D2147

    #3D2147

    oklch(30.2% 0.074 316.6)

  • #4C2007

    #4C2007

    oklch(30.3% 0.075 46.5)

  • #1B370D

    #1B370D

    oklch(30.4% 0.075 136.9)

  • #003445

    #003445

    oklch(30.3% 0.058 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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