#3E15B4#3E15B4

#3E15B4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.219 H 281.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3E15B4
RGBrgb(62, 21, 180)
HSLhsl(255, 79%, 39%)
HSVhsv(255, 88%, 71%)
CMYKcmyk(65.6%, 88.3%, 0%, 29.4%)
CIE-LABlab(26.32, 57.44, -74.40)
CIE-LCHlch(26.32, 93.99, 307.67°)
OKLaboklab(39.14% 0.0421 -0.2146)
OKLCHoklch(39.14% 0.219 281.1)
XYZxyz(10.4904, 4.8549, 43.5554)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E15B4 #8BB415
analogous
#153BB4 #3E15B4 #8E15B4
triadic
#3E15B4 #B43E15 #15B43E
tetradic
#3E15B4 #B4153B #8BB415 #15B48E
square
#3E15B4 #B4153B #8BB415 #15B48E
split-complementary
#3E15B4 #B48E15 #3BB415
monochromatic
#180846 #2B0F7D #3E15B4 #5421E5 #7E58EC

Accessibility & contrast

On white

10.65
#3E15B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E15B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E15B4
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E15B4#FFFFFF#000000##FFFFFF
##3E15B41.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e15b4;
/* rgb */ color: rgb(62, 21, 180);
/* oklch */ color: oklch(39.1% 0.219 281.1);
Tailwind
colors: {
  custom: {
    50: '#855dcc',
    500: '#3e15b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e15b4;
$custom-light: #855dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e15b4",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 255.472,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.21873,
    "h": 281.1
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#3E15B4
secondary
#B0CF56
accent
#F632C3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3E15B4

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

Preview Lab → · Contrast checker → · Palette generator →

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