#4A15CA#4A15CA

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

Color values

HEX#4A15CA
RGBrgb(74, 21, 202)
HSLhsl(258, 81%, 44%)
HSVhsv(258, 90%, 79%)
CMYKcmyk(63.4%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.05, 63.99, -81.18)
CIE-LCHlch(30.05, 103.37, 308.25°)
OKLaboklab(42.69% 0.0524 -0.2341)
OKLCHoklch(42.69% 0.24 282.6)
XYZxyz(13.7496, 6.2554, 56.3485)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A15CA #95CA15
analogous
#153ACA #4A15CA #A415CA
triadic
#4A15CA #CA4A15 #15CA4A
tetradic
#4A15CA #CA153A #95CA15 #15CAA4
square
#4A15CA #CA153A #95CA15 #15CAA4
split-complementary
#4A15CA #CAA415 #3ACA15
monochromatic
#21095B #360F93 #4A15CA #6832EA #916AEF

Accessibility & contrast

On white

9.33
#4A15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A15CA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A15CA#FFFFFF#000000##FFFFFF
##4A15CA1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.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: #4a15ca;
/* rgb */ color: rgb(74, 21, 202);
/* oklch */ color: oklch(42.7% 0.240 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e60dc',
    500: '#4a15ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a15ca;
$custom-light: #8e60dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a15ca",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 257.569,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.23986,
    "h": 282.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#4A15CA
secondary
#B4D566
accent
#F830BD
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0515
muted
#7E7A83

Preview Lab

Preview with #4A15CA

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

Preview Lab → · Contrast checker → · Palette generator →

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