#3E1390#3E1390

#3E1390 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.181 H 288.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#3E1390
RGBrgb(62, 19, 144)
HSLhsl(261, 77%, 32%)
HSVhsv(261, 87%, 56%)
CMYKcmyk(56.9%, 86.8%, 0%, 43.5%)
CIE-LABlab(21.96, 48.47, -59.70)
CIE-LCHlch(21.96, 76.90, 309.07°)
OKLaboklab(34.97% 0.0573 -0.1718)
OKLCHoklch(34.97% 0.181 288.4)
XYZxyz(7.2520, 3.5031, 26.6742)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1390 #659013
analogous
#132790 #3E1390 #7D1390
triadic
#3E1390 #903E13 #13903E
tetradic
#3E1390 #901327 #659013 #13907D
square
#3E1390 #901327 #659013 #13907D
split-complementary
#3E1390 #907D13 #279013
monochromatic
#0F0524 #270C5A #3E1390 #551AC6 #7439E5

Accessibility & contrast

On white

12.35
#3E1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3E1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1390
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1390#FFFFFF#000000##FFFFFF
##3E13901.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#1A3B54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1390;
/* rgb */ color: rgb(62, 19, 144);
/* oklch */ color: oklch(35.0% 0.181 288.4);
Tailwind
colors: {
  custom: {
    50: '#7e59b2',
    500: '#3e1390',
    950: '#000000',
  },
}
SCSS
$custom: #3e1390;
$custom-light: #7e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1390",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 260.64,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.18112,
    "h": 288.4
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#3E1390
secondary
#95C43B
accent
#F335B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1390

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

Preview Lab → · Contrast checker → · Palette generator →

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