#3E1EA1#3E1EA1

#3E1EA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.192 H 283.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1EA1
RGBrgb(62, 30, 161)
HSLhsl(255, 69%, 37%)
HSVhsv(255, 81%, 63%)
CMYKcmyk(61.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(25.34, 48.72, -64.57)
CIE-LCHlch(25.34, 80.89, 307.03°)
OKLaboklab(37.84% 0.045 -0.1862)
OKLCHoklch(37.84% 0.192 283.6)
XYZxyz(8.8819, 4.5253, 34.1167)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1EA1 #81A11E
analogous
#1E40A1 #3E1EA1 #7F1EA1
triadic
#3E1EA1 #A13E1E #1EA13E
tetradic
#3E1EA1 #A11E40 #81A11E #1EA17F
square
#3E1EA1 #A11E40 #81A11E #1EA17F
split-complementary
#3E1EA1 #A17F1E #40A11E
monochromatic
#160B3A #2A146D #3E1EA1 #5228D5 #7A59E0

Accessibility & contrast

On white

11.02
#3E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1EA1
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1EA1#FFFFFF#000000##FFFFFF
##3E1EA11.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e1ea1;
/* rgb */ color: rgb(62, 30, 161);
/* oklch */ color: oklch(37.8% 0.192 283.6);
Tailwind
colors: {
  custom: {
    50: '#805fbe',
    500: '#3e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ea1;
$custom-light: #805fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ea1",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 254.656,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.19153,
    "h": 283.6
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#3E1EA1
secondary
#A9C457
accent
#EB3CC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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