#4C15CA#4C15CA

#4C15CA is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.9% C 0.240 H 283.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4C15CA
RGBrgb(76, 21, 202)
HSLhsl(258, 81%, 44%)
HSVhsv(258, 90%, 79%)
CMYKcmyk(62.4%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.25, 64.13, -80.85)
CIE-LCHlch(30.25, 103.20, 308.42°)
OKLaboklab(42.87% 0.0556 -0.233)
OKLCHoklch(42.87% 0.24 283.4)
XYZxyz(13.9060, 6.3361, 56.3559)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C15CA #93CA15
analogous
#1538CA #4C15CA #A615CA
triadic
#4C15CA #CA4C15 #15CA4C
tetradic
#4C15CA #CA1538 #93CA15 #15CAA6
square
#4C15CA #CA1538 #93CA15 #15CAA6
split-complementary
#4C15CA #CAA615 #38CA15
monochromatic
#22095B #370F93 #4C15CA #6A32EA #926AEF

Accessibility & contrast

On white

9.26
#4C15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C15CA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C15CA#FFFFFF#000000##FFFFFF
##4C15CA1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c15ca;
/* rgb */ color: rgb(76, 21, 202);
/* oklch */ color: oklch(42.9% 0.240 283.4);
Tailwind
colors: {
  custom: {
    50: '#8f60dc',
    500: '#4c15ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c15ca;
$custom-light: #8f60dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c15ca",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 258.232,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.23959,
    "h": 283.4
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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