#3E1E84#3E1E84

#3E1E84 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.158 H 290.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#3E1E84
RGBrgb(62, 30, 132)
HSLhsl(259, 63%, 32%)
HSVhsv(259, 77%, 52%)
CMYKcmyk(53%, 77.3%, 0%, 48.2%)
CIE-LABlab(22.37, 40.29, -51.52)
CIE-LCHlch(22.37, 65.40, 308.02°)
OKLaboklab(34.88% 0.0539 -0.148)
OKLCHoklch(34.88% 0.158 290)
XYZxyz(6.6145, 3.6183, 22.1752)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E84 #64841E
analogous
#1E3184 #3E1E84 #711E84
triadic
#3E1E84 #843E1E #1E843E
tetradic
#3E1E84 #841E31 #64841E #1E8471
square
#3E1E84 #841E31 #64841E #1E8471
split-complementary
#3E1E84 #84711E #31841E
monochromatic
#0F0720 #271352 #3E1E84 #5529B6 #7447D5

Accessibility & contrast

On white

12.18
#3E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E84
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E84#FFFFFF#000000##FFFFFF
##3E1E841.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#253A50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1e84;
/* rgb */ color: rgb(62, 30, 132);
/* oklch */ color: oklch(34.9% 0.158 290.0);
Tailwind
colors: {
  custom: {
    50: '#7b5ea9',
    500: '#3e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e84;
$custom-light: #7b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e84",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 258.824,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34881,
    "c": 0.15754,
    "h": 290
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#3E1E84
secondary
#94B747
accent
#E642B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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