#3E16A0#3E16A0

#3E16A0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 37.0% C 0.197 H 284.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3E16A0
RGBrgb(62, 22, 160)
HSLhsl(257, 76%, 36%)
HSVhsv(257, 86%, 63%)
CMYKcmyk(61.2%, 86.3%, 0%, 37.3%)
CIE-LABlab(24.11, 51.71, -65.98)
CIE-LCHlch(24.11, 83.83, 308.08°)
OKLaboklab(36.97% 0.0495 -0.1902)
OKLCHoklch(36.97% 0.197 284.6)
XYZxyz(8.6167, 4.1355, 33.5951)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E16A0 #78A016
analogous
#1633A0 #3E16A0 #8316A0
triadic
#3E16A0 #A03E16 #16A03E
tetradic
#3E16A0 #A01633 #78A016 #16A083
square
#3E16A0 #A01633 #78A016 #16A083
split-complementary
#3E16A0 #A08316 #33A016
monochromatic
#140734 #290F6A #3E16A0 #531DD6 #774AE6

Accessibility & contrast

On white

11.49
#3E16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E16A0
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E16A0#FFFFFF#000000##FFFFFF
##3E16A01.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e16a0;
/* rgb */ color: rgb(62, 22, 160);
/* oklch */ color: oklch(37.0% 0.197 284.6);
Tailwind
colors: {
  custom: {
    50: '#815cbd',
    500: '#3e16a0',
    950: '#000000',
  },
}
SCSS
$custom: #3e16a0;
$custom-light: #815cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e16a0",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 257.391,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.19651,
    "h": 284.6
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#3E16A0
secondary
#A3C84A
accent
#F235BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3E16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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