#3E1990#3E1990

#3E1990 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.176 H 287.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1990
RGBrgb(62, 25, 144)
HSLhsl(259, 70%, 33%)
HSVhsv(259, 83%, 56%)
CMYKcmyk(56.9%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.77, 46.08, -58.36)
CIE-LCHlch(22.77, 74.36, 308.29°)
OKLaboklab(35.53% 0.0538 -0.168)
OKLCHoklch(35.53% 0.176 287.8)
XYZxyz(7.3668, 3.7326, 26.7124)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1990 #6B9019
analogous
#193090 #3E1990 #791990
triadic
#3E1990 #903E19 #19903E
tetradic
#3E1990 #901930 #6B9019 #199079
square
#3E1990 #901930 #6B9019 #199079
split-complementary
#3E1990 #907919 #309019
monochromatic
#110728 #28105C #3E1990 #5422C4 #7545DF

Accessibility & contrast

On white

12.02
#3E1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1990
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1990#FFFFFF#000000##FFFFFF
##3E19901.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#193D55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1990;
/* rgb */ color: rgb(62, 25, 144);
/* oklch */ color: oklch(35.5% 0.176 287.8);
Tailwind
colors: {
  custom: {
    50: '#7e5cb2',
    500: '#3e1990',
    950: '#000000',
  },
}
SCSS
$custom: #3e1990;
$custom-light: #7e5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1990",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 258.655,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.1764,
    "h": 287.8
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#3E1990
secondary
#9AC045
accent
#ED3BB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1990

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

Preview Lab → · Contrast checker → · Palette generator →

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