#3E19A1#3E19A1

#3E19A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.195 H 284.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3E19A1
RGBrgb(62, 25, 161)
HSLhsl(256, 73%, 36%)
HSVhsv(256, 84%, 63%)
CMYKcmyk(61.5%, 84.5%, 0%, 36.9%)
CIE-LABlab(24.61, 50.84, -65.77)
CIE-LCHlch(24.61, 83.12, 307.70°)
OKLaboklab(37.35% 0.0477 -0.1896)
OKLCHoklch(37.35% 0.195 284.1)
XYZxyz(8.7653, 4.2920, 34.0779)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E19A1 #7CA119
analogous
#1938A1 #3E19A1 #8219A1
triadic
#3E19A1 #A13E19 #19A13E
tetradic
#3E19A1 #A11938 #7CA119 #19A182
square
#3E19A1 #A11938 #7CA119 #19A182
split-complementary
#3E19A1 #A18219 #38A119
monochromatic
#150937 #2A116C #3E19A1 #5221D6 #7950E4

Accessibility & contrast

On white

11.30
#3E19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E19A1
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E19A1#FFFFFF#000000##FFFFFF
##3E19A11.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e19a1;
/* rgb */ color: rgb(62, 25, 161);
/* oklch */ color: oklch(37.3% 0.195 284.1);
Tailwind
colors: {
  custom: {
    50: '#815dbe',
    500: '#3e19a1',
    950: '#000000',
  },
}
SCSS
$custom: #3e19a1;
$custom-light: #815dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e19a1",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 256.324,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.19549,
    "h": 284.1
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#3E19A1
secondary
#A6C64F
accent
#F038BE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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