#4E15CA#4E15CA

#4E15CA is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 43.1% C 0.239 H 284.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4E15CA
RGBrgb(78, 21, 202)
HSLhsl(259, 81%, 44%)
HSVhsv(259, 90%, 79%)
CMYKcmyk(61.4%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.45, 64.28, -80.51)
CIE-LCHlch(30.45, 103.02, 308.61°)
OKLaboklab(43.05% 0.0588 -0.232)
OKLCHoklch(43.05% 0.239 284.2)
XYZxyz(14.0674, 6.4193, 56.3634)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E15CA #91CA15
analogous
#1536CA #4E15CA #A815CA
triadic
#4E15CA #CA4E15 #15CA4E
tetradic
#4E15CA #CA1536 #91CA15 #15CAA8
square
#4E15CA #CA1536 #91CA15 #15CAA8
split-complementary
#4E15CA #CAA815 #36CA15
monochromatic
#23095B #390F93 #4E15CA #6C32EA #946AEF

Accessibility & contrast

On white

9.19
#4E15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E15CA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E15CA#FFFFFF#000000##FFFFFF
##4E15CA1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CCF
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005477
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e15ca;
/* rgb */ color: rgb(78, 21, 202);
/* oklch */ color: oklch(43.1% 0.239 284.2);
Tailwind
colors: {
  custom: {
    50: '#9060dc',
    500: '#4e15ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e15ca;
$custom-light: #9060dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e15ca",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 258.895,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.23934,
    "h": 284.2
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#4E15CA
secondary
#B2D566
accent
#F830B9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4E15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4E15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva