#4D15CA#4D15CA

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

Color values

HEX#4D15CA
RGBrgb(77, 21, 202)
HSLhsl(259, 81%, 44%)
HSVhsv(259, 90%, 79%)
CMYKcmyk(61.9%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.35, 64.21, -80.68)
CIE-LCHlch(30.35, 103.11, 308.51°)
OKLaboklab(42.96% 0.0572 -0.2325)
OKLCHoklch(42.96% 0.239 283.8)
XYZxyz(13.9861, 6.3774, 56.3596)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D15CA #92CA15
analogous
#1537CA #4D15CA #A715CA
triadic
#4D15CA #CA4D15 #15CA4D
tetradic
#4D15CA #CA1537 #92CA15 #15CAA7
square
#4D15CA #CA1537 #92CA15 #15CAA7
split-complementary
#4D15CA #CAA715 #37CA15
monochromatic
#23095B #380F93 #4D15CA #6B32EA #936AEF

Accessibility & contrast

On white

9.23
#4D15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D15CA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D15CA#FFFFFF#000000##FFFFFF
##4D15CA1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d15ca;
/* rgb */ color: rgb(77, 21, 202);
/* oklch */ color: oklch(43.0% 0.239 283.8);
Tailwind
colors: {
  custom: {
    50: '#9060dc',
    500: '#4d15ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d15ca;
$custom-light: #9060dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d15ca",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 258.564,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.23945,
    "h": 283.8
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#4D15CA
secondary
#B3D566
accent
#F830BA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4D15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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