#5024CA#5024CA

#5024CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.230 H 284.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5024CA
RGBrgb(80, 36, 202)
HSLhsl(256, 70%, 47%)
HSVhsv(256, 82%, 79%)
CMYKcmyk(60.4%, 82.2%, 0%, 20.8%)
CIE-LABlab(32.33, 59.45, -77.39)
CIE-LCHlch(32.33, 97.59, 307.53°)
OKLaboklab(44.38% 0.0558 -0.2231)
OKLCHoklch(44.38% 0.23 284)
XYZxyz(14.5965, 7.2305, 56.4921)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5024CA #9ECA24
analogous
#244BCA #5024CA #A324CA
triadic
#5024CA #CA5024 #24CA50
tetradic
#5024CA #CA244B #9ECA24 #24CAA3
square
#5024CA #CA244B #9ECA24 #24CAA3
split-complementary
#5024CA #CAA324 #4BCA24
monochromatic
#271162 #3B1B96 #5024CA #734CDF #9C80E8

Accessibility & contrast

On white

8.58
#5024CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5024CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5024CA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5024CA#FFFFFF#000000##FFFFFF
##5024CA1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5024ca;
/* rgb */ color: rgb(80, 36, 202);
/* oklch */ color: oklch(44.4% 0.230 284.0);
Tailwind
colors: {
  custom: {
    50: '#9067dc',
    500: '#5024ca',
    950: '#000000',
  },
}
SCSS
$custom: #5024ca;
$custom-light: #9067dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5024ca",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 255.904,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.22997,
    "h": 284
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#5024CA
secondary
#BAD179
accent
#ED3BBE
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5024CA

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

Preview Lab → · Contrast checker → · Palette generator →

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