#3E1E95#3E1E95

#3E1E95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.178 H 286.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3E1E95
RGBrgb(62, 30, 149)
HSLhsl(256, 66%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(58.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(24.07, 45.25, -59.31)
CIE-LCHlch(24.07, 74.60, 307.34°)
OKLaboklab(36.59% 0.0489 -0.1708)
OKLCHoklch(36.59% 0.178 286)
XYZxyz(7.8741, 4.1221, 28.8087)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E95 #75951E
analogous
#1E3A95 #3E1E95 #791E95
triadic
#3E1E95 #953E1E #1E953E
tetradic
#3E1E95 #951E3A #75951E #1E9579
square
#3E1E95 #951E3A #75951E #1E9579
split-complementary
#3E1E95 #95791E #3A951E
monochromatic
#14092F #291462 #3E1E95 #5328C8 #7751DC

Accessibility & contrast

On white

11.51
#3E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3E1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E95
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E95#FFFFFF#000000##FFFFFF
##3E1E951.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#114159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e1e95;
/* rgb */ color: rgb(62, 30, 149);
/* oklch */ color: oklch(36.6% 0.178 286.0);
Tailwind
colors: {
  custom: {
    50: '#7e5fb5',
    500: '#3e1e95',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e95;
$custom-light: #7e5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e95",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 256.134,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36587,
    "c": 0.17767,
    "h": 286
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#3E1E95
secondary
#A1BF50
accent
#E93EBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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