#3E16A1#3E16A1

#3E16A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.198 H 284.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#3E16A1
RGBrgb(62, 22, 161)
HSLhsl(257, 76%, 36%)
HSVhsv(257, 86%, 63%)
CMYKcmyk(61.5%, 86.3%, 0%, 36.9%)
CIE-LABlab(24.23, 51.98, -66.41)
CIE-LCHlch(24.23, 84.33, 308.05°)
OKLaboklab(37.08% 0.0491 -0.1914)
OKLCHoklch(37.08% 0.198 284.4)
XYZxyz(8.7046, 4.1706, 34.0576)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E16A1 #79A116
analogous
#1634A1 #3E16A1 #8316A1
triadic
#3E16A1 #A13E16 #16A13E
tetradic
#3E16A1 #A11634 #79A116 #16A183
square
#3E16A1 #A11634 #79A116 #16A183
split-complementary
#3E16A1 #A18316 #34A116
monochromatic
#150735 #290F6B #3E16A1 #531DD7 #784BE6

Accessibility & contrast

On white

11.45
#3E16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E16A1
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E16A1#FFFFFF#000000##FFFFFF
##3E16A11.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e16a1;
/* rgb */ color: rgb(62, 22, 161);
/* oklch */ color: oklch(37.1% 0.198 284.4);
Tailwind
colors: {
  custom: {
    50: '#815cbe',
    500: '#3e16a1',
    950: '#000000',
  },
}
SCSS
$custom: #3e16a1;
$custom-light: #815cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e16a1",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 257.266,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37081,
    "c": 0.19761,
    "h": 284.4
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#3E16A1
secondary
#A4C84B
accent
#F335BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3E16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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