#3E1D96#3E1D96

#3E1D96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.180 H 285.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#3E1D96
RGBrgb(62, 29, 150)
HSLhsl(256, 68%, 35%)
HSVhsv(256, 81%, 59%)
CMYKcmyk(58.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(24.01, 46.00, -60.02)
CIE-LCHlch(24.01, 75.62, 307.47°)
OKLaboklab(36.58% 0.0492 -0.1729)
OKLCHoklch(36.58% 0.18 285.9)
XYZxyz(7.9293, 4.1044, 29.2226)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D96 #75961D
analogous
#1D3896 #3E1D96 #7B1D96
triadic
#3E1D96 #963E1D #1D963E
tetradic
#3E1D96 #961D38 #75961D #1D967B
square
#3E1D96 #961D38 #75961D #1D967B
split-complementary
#3E1D96 #967B1D #38961D
monochromatic
#14092F #291363 #3E1D96 #5327C9 #7750DD

Accessibility & contrast

On white

11.53
#3E1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3E1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D96
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D96#FFFFFF#000000##FFFFFF
##3E1D961.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#10415A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e1d96;
/* rgb */ color: rgb(62, 29, 150);
/* oklch */ color: oklch(36.6% 0.180 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f5eb6',
    500: '#3e1d96',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d96;
$custom-light: #7f5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d96",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 256.364,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.17975,
    "h": 285.9
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#3E1D96
secondary
#A1C04F
accent
#EA3DBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1D96

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E1D96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva