#3E1E81#3E1E81

#3E1E81 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.154 H 290.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3E1E81
RGBrgb(62, 30, 129)
HSLhsl(259, 62%, 31%)
HSVhsv(259, 77%, 51%)
CMYKcmyk(51.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(22.08, 39.41, -50.10)
CIE-LCHlch(22.08, 63.74, 308.19°)
OKLaboklab(34.59% 0.0547 -0.1439)
OKLCHoklch(34.59% 0.154 290.8)
XYZxyz(6.4122, 3.5374, 21.1095)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E81 #61811E
analogous
#1E2F81 #3E1E81 #6F1E81
triadic
#3E1E81 #813E1E #1E813E
tetradic
#3E1E81 #811E2F #61811E #1E816F
square
#3E1E81 #811E2F #61811E #1E816F
split-complementary
#3E1E81 #816F1E #2F811E
monochromatic
#0E071E #26124F #3E1E81 #562AB3 #7446D4

Accessibility & contrast

On white

12.30
#3E1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E1E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E81
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E81#FFFFFF#000000##FFFFFF
##3E1E811.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#27394E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1e81;
/* rgb */ color: rgb(62, 30, 129);
/* oklch */ color: oklch(34.6% 0.154 290.8);
Tailwind
colors: {
  custom: {
    50: '#7b5da6',
    500: '#3e1e81',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e81;
$custom-light: #7b5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e81",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 259.394,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.15392,
    "h": 290.8
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#3E1E81
secondary
#91B447
accent
#E542B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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