#3E1590#3E1590

#3E1590 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.180 H 288.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1590
RGBrgb(62, 21, 144)
HSLhsl(260, 75%, 32%)
HSVhsv(260, 85%, 56%)
CMYKcmyk(56.9%, 85.4%, 0%, 43.5%)
CIE-LABlab(22.21, 47.72, -59.28)
CIE-LCHlch(22.21, 76.10, 308.83°)
OKLaboklab(35.14% 0.0562 -0.1706)
OKLCHoklch(35.14% 0.18 288.2)
XYZxyz(7.2873, 3.5737, 26.6860)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1590 #679015
analogous
#152A90 #3E1590 #7B1590
triadic
#3E1590 #903E15 #15903E
tetradic
#3E1590 #90152A #679015 #15907B
square
#3E1590 #90152A #679015 #15907B
split-complementary
#3E1590 #907B15 #2A9015
monochromatic
#100525 #270D5B #3E1590 #551DC5 #743DE3

Accessibility & contrast

On white

12.25
#3E1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1590
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1590#FFFFFF#000000##FFFFFF
##3E15901.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#1A3B55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1590;
/* rgb */ color: rgb(62, 21, 144);
/* oklch */ color: oklch(35.1% 0.180 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ab2',
    500: '#3e1590',
    950: '#000000',
  },
}
SCSS
$custom: #3e1590;
$custom-light: #7e5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1590",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 260,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35142,
    "c": 0.17965,
    "h": 288.2
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#3E1590
secondary
#96C23E
accent
#F137B3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1590

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

Preview Lab → · Contrast checker → · Palette generator →

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