#5015CA#5015CA

#5015CA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 43.2% C 0.239 H 285.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5015CA
RGBrgb(80, 21, 202)
HSLhsl(260, 81%, 44%)
HSVhsv(260, 90%, 79%)
CMYKcmyk(60.4%, 89.6%, 0%, 20.8%)
CIE-LABlab(30.65, 64.43, -80.16)
CIE-LCHlch(30.65, 102.84, 308.79°)
OKLaboklab(43.24% 0.062 -0.2309)
OKLCHoklch(43.24% 0.239 285)
XYZxyz(14.2338, 6.5051, 56.3712)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5015CA #8FCA15
analogous
#1534CA #5015CA #AA15CA
triadic
#5015CA #CA5015 #15CA50
tetradic
#5015CA #CA1534 #8FCA15 #15CAAA
square
#5015CA #CA1534 #8FCA15 #15CAAA
split-complementary
#5015CA #CAAA15 #34CA15
monochromatic
#24095B #3A0F93 #5015CA #6E32EA #956AEF

Accessibility & contrast

On white

9.13
#5015CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5015CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5015CA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5015CA#FFFFFF#000000##FFFFFF
##5015CA1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5015ca;
/* rgb */ color: rgb(80, 21, 202);
/* oklch */ color: oklch(43.2% 0.239 285.0);
Tailwind
colors: {
  custom: {
    50: '#9161dc',
    500: '#5015ca',
    950: '#000000',
  },
}
SCSS
$custom: #5015ca;
$custom-light: #9161dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5015ca",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 259.558,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.23912,
    "h": 285
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#5015CA
secondary
#B1D566
accent
#F830B7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5015CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5015CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva