#3E1E91#3E1E91

#3E1E91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 286.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#3E1E91
RGBrgb(62, 30, 145)
HSLhsl(257, 66%, 34%)
HSVhsv(257, 79%, 57%)
CMYKcmyk(57.2%, 79.3%, 0%, 43.1%)
CIE-LABlab(23.66, 44.08, -57.51)
CIE-LCHlch(23.66, 72.46, 307.47°)
OKLaboklab(36.18% 0.0501 -0.1656)
OKLCHoklch(36.18% 0.173 286.8)
XYZxyz(7.5602, 3.9966, 27.1556)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E91 #71911E
analogous
#1E3791 #3E1E91 #781E91
triadic
#3E1E91 #913E1E #1E913E
tetradic
#3E1E91 #911E37 #71911E #1E9178
square
#3E1E91 #911E37 #71911E #1E9178
split-complementary
#3E1E91 #91781E #37911E
monochromatic
#13092C #28145E #3E1E91 #5428C4 #764FDB

Accessibility & contrast

On white

11.67
#3E1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3E1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E91
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E91#FFFFFF#000000##FFFFFF
##3E1E911.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#183F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e1e91;
/* rgb */ color: rgb(62, 30, 145);
/* oklch */ color: oklch(36.2% 0.173 286.8);
Tailwind
colors: {
  custom: {
    50: '#7e5eb2',
    500: '#3e1e91',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e91;
$custom-light: #7e5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e91",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 256.696,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36178,
    "c": 0.17299,
    "h": 286.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#3E1E91
secondary
#9EBD4D
accent
#E93FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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