#3E15A0#3E15A0

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

Color values

HEX#3E15A0
RGBrgb(62, 21, 160)
HSLhsl(258, 77%, 35%)
HSVhsv(258, 87%, 63%)
CMYKcmyk(61.2%, 86.9%, 0%, 37.3%)
CIE-LABlab(23.99, 52.07, -66.18)
CIE-LCHlch(23.99, 84.21, 308.19°)
OKLaboklab(36.89% 0.0499 -0.1907)
OKLCHoklch(36.89% 0.197 284.7)
XYZxyz(8.5980, 4.0980, 33.5888)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E15A0 #77A015
analogous
#1531A0 #3E15A0 #8315A0
triadic
#3E15A0 #A03E15 #15A03E
tetradic
#3E15A0 #A01531 #77A015 #15A083
square
#3E15A0 #A01531 #77A015 #15A083
split-complementary
#3E15A0 #A08315 #31A015
monochromatic
#140734 #290E6A #3E15A0 #531CD6 #7748E7

Accessibility & contrast

On white

11.54
#3E15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E15A0
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E15A0#FFFFFF#000000##FFFFFF
##3E15A01.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e15a0;
/* rgb */ color: rgb(62, 21, 160);
/* oklch */ color: oklch(36.9% 0.197 284.7);
Tailwind
colors: {
  custom: {
    50: '#815bbd',
    500: '#3e15a0',
    950: '#000000',
  },
}
SCSS
$custom: #3e15a0;
$custom-light: #815bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e15a0",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 257.698,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.19718,
    "h": 284.7
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#3E15A0
secondary
#A3C849
accent
#F334BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3E15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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