#3E318F

Closest named color: Dark Slate Blue (#483D8B). oklch(38.7% 0.148 283.3), rgb(62, 49, 143).

Aa

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

About this color

#3E318F is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.148 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.29:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.148)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.04:1
White text10.29:1

Values

HEX#3E318F
RGBrgb(62, 49, 143)
HSLhsl(248, 49%, 38%)
OKLCHoklch(38.7% 0.148 283.3)

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 #3E318F 10.29:1 AAA Lc -97.5 Preferred for body text
Black text on #3E318F 2.04:1 Fails Lc 10.5 Not readable
#3E318F text on white 10.29:1 AAA Lc 93.4 Preferred for body text
#3E318F text on black 2.04:1 Fails Lc -9.1 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

    #B8B9FF

    oklch(81% 0.098 283.3)

  5. Step 400

    400

    #9591FF

    oklch(70.8% 0.158 283.2)

  6. Step 500

    500

    #7E6FFF

    oklch(63% 0.206 283.5)

  7. Step 600

    600

    #6A4AFB

    oklch(55.6% 0.247 283.1)

  8. Step 700

    700

    #5A38DB

    oklch(49.1% 0.23 283.5)

  9. Step 800

    800

    #4931B1

    oklch(42.8% 0.19 283.4)

  10. Step 900

    900 (this color)

    #3E318F

    oklch(38.7% 0.148 283.3)

  11. Step 950

    950

    #221C52

    oklch(26.9% 0.095 283)

Export this scale for Tailwind in the Tailwind colors tool

#3E318F 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)#0043920.067
Deuteranopia (no green cones)#003D8D0.063
Tritanopia (no blue cones)#18485B0.125
Achromatopsia (no color)#4040400.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E318F

    #3E318F

    oklch(38.7% 0.148 283.3)

  • #4C4600

    #4C4600

    oklch(38.8% 0.082 104)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E318F

    #3E318F

    oklch(38.7% 0.148 283.3)

  • #004482

    #004482

    oklch(38.8% 0.12 253.2)

  • #5F227B

    #5F227B

    oklch(38.7% 0.149 313)

Open the analogous palette in the generator

Split complementary

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

  • #3E318F

    #3E318F

    oklch(38.7% 0.148 283.3)

  • #5E3C00

    #5E3C00

    oklch(38.7% 0.082 73.4)

  • #2B5000

    #2B5000

    oklch(38.8% 0.11 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E318F

    #3E318F

    oklch(38.7% 0.148 283.3)

  • #732A00

    #732A00

    oklch(38.7% 0.113 43.7)

  • #005237

    #005237

    oklch(38.8% 0.084 162.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E318F

    #3E318F

    oklch(38.7% 0.148 283.3)

  • #80092C

    #80092C

    oklch(38.7% 0.148 13.4)

  • #4C4600

    #4C4600

    oklch(38.8% 0.082 104)

  • #004F4E

    #004F4E

    oklch(38.7% 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 #3E318F, closest first.

Similar named colors

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

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