#3E1E99#3E1E99

#3E1E99 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.182 H 285.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3E1E99
RGBrgb(62, 30, 153)
HSLhsl(256, 67%, 36%)
HSVhsv(256, 80%, 60%)
CMYKcmyk(59.5%, 80.4%, 0%, 40%)
CIE-LABlab(24.49, 46.41, -61.08)
CIE-LCHlch(24.49, 76.71, 307.23°)
OKLaboklab(37% 0.0476 -0.176)
OKLCHoklch(37% 0.182 285.1)
XYZxyz(8.1989, 4.2521, 30.5195)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E99 #79991E
analogous
#1E3B99 #3E1E99 #7B1E99
triadic
#3E1E99 #993E1E #1E993E
tetradic
#3E1E99 #991E3B #79991E #1E997B
square
#3E1E99 #991E3B #79991E #1E997B
split-complementary
#3E1E99 #997B1E #3B991E
monochromatic
#150A33 #291466 #3E1E99 #5328CC #7854DD

Accessibility & contrast

On white

11.35
#3E1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E99
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E99#FFFFFF#000000##FFFFFF
##3E1E991.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#08435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e1e99;
/* rgb */ color: rgb(62, 30, 153);
/* oklch */ color: oklch(37.0% 0.182 285.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fb8',
    500: '#3e1e99',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e99;
$custom-light: #7f5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e99",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 255.61,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.18232,
    "h": 285.1
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#3E1E99
secondary
#A4C152
accent
#EA3EBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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