#3D318C

Closest named color: Dark Slate Blue (#483D8B). oklch(38.4% 0.145 283.2), rgb(61, 49, 140).

Aa

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

About this color

#3D318C is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.145 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.037 away. White text reads best on it, at 10.41:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.145)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.01:1
White text10.41:1

Values

HEX#3D318C
RGBrgb(61, 49, 140)
HSLhsl(248, 48%, 37%)
OKLCHoklch(38.4% 0.145 283.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 #3D318C 10.41:1 AAA Lc -97.8 Preferred for body text
Black text on #3D318C 2.01:1 Fails Lc 10.2 Not readable
#3D318C text on white 10.41:1 AAA Lc 93.7 Preferred for body text
#3D318C text on black 2.01:1 Fails Lc -8.8 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B7B9FF

    oklch(80.9% 0.098 282.7)

  5. Step 400

    400

    #9591FF

    oklch(70.8% 0.158 283.2)

  6. Step 500

    500

    #7E70FF

    oklch(63.2% 0.205 283.3)

  7. Step 600

    600

    #6A4CF8

    oklch(55.6% 0.242 283.2)

  8. Step 700

    700

    #593BD8

    oklch(49.1% 0.224 283.1)

  9. Step 800

    800

    #4833AE

    oklch(42.7% 0.185 283.1)

  10. Step 900

    900 (this color)

    #3D318C

    oklch(38.4% 0.145 283.2)

  11. Step 950

    950

    #221D51

    oklch(27.1% 0.092 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#3D318C 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)#00438F0.066
Deuteranopia (no green cones)#003D8A0.062
Tritanopia (no blue cones)#18475A0.121
Achromatopsia (no color)#4040400.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D318C

    #3D318C

    oklch(38.4% 0.145 283.2)

  • #4B4500

    #4B4500

    oklch(38.4% 0.081 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D318C

    #3D318C

    oklch(38.4% 0.145 283.2)

  • #004380

    #004380

    oklch(38.4% 0.119 253.1)

  • #5D2278

    #5D2278

    oklch(38.2% 0.145 313.1)

Open the analogous palette in the generator

Split complementary

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

  • #3D318C

    #3D318C

    oklch(38.4% 0.145 283.2)

  • #5D3B00

    #5D3B00

    oklch(38.3% 0.082 73)

  • #2A4F00

    #2A4F00

    oklch(38.5% 0.109 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D318C

    #3D318C

    oklch(38.4% 0.145 283.2)

  • #722900

    #722900

    oklch(38.4% 0.113 43.4)

  • #005136

    #005136

    oklch(38.5% 0.084 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D318C

    #3D318C

    oklch(38.4% 0.145 283.2)

  • #7E0C2C

    #7E0C2C

    oklch(38.4% 0.145 13.4)

  • #4B4500

    #4B4500

    oklch(38.4% 0.081 103.9)

  • #004E4D

    #004E4D

    oklch(38.3% 0.066 193.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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