#3E1E86#3E1E86

#3E1E86 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.160 H 289.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3E1E86
RGBrgb(62, 30, 134)
HSLhsl(258, 63%, 32%)
HSVhsv(258, 78%, 53%)
CMYKcmyk(53.7%, 77.6%, 0%, 47.5%)
CIE-LABlab(22.56, 40.87, -52.46)
CIE-LCHlch(22.56, 66.50, 307.92°)
OKLaboklab(35.08% 0.0534 -0.1508)
OKLCHoklch(35.08% 0.16 289.5)
XYZxyz(6.7527, 3.6736, 22.9029)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E86 #66861E
analogous
#1E3286 #3E1E86 #721E86
triadic
#3E1E86 #863E1E #1E863E
tetradic
#3E1E86 #861E32 #66861E #1E8672
square
#3E1E86 #861E32 #66861E #1E8672
split-complementary
#3E1E86 #86721E #32861E
monochromatic
#100822 #271354 #3E1E86 #5529B8 #7448D6

Accessibility & contrast

On white

12.11
#3E1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E86
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E86#FFFFFF#000000##FFFFFF
##3E1E861.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#233B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1e86;
/* rgb */ color: rgb(62, 30, 134);
/* oklch */ color: oklch(35.1% 0.160 289.5);
Tailwind
colors: {
  custom: {
    50: '#7c5eaa',
    500: '#3e1e86',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e86;
$custom-light: #7c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e86",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 258.462,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.15994,
    "h": 289.5
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#3E1E86
secondary
#96B847
accent
#E641B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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