#5024BB#5024BB

#5024BB is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.214 H 286.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5024BB
RGBrgb(80, 36, 187)
HSLhsl(257, 68%, 44%)
HSVhsv(257, 81%, 73%)
CMYKcmyk(57.2%, 80.7%, 0%, 26.7%)
CIE-LABlab(30.77, 55.40, -71.14)
CIE-LCHlch(30.77, 90.17, 307.91°)
OKLaboklab(42.85% 0.0609 -0.2049)
OKLCHoklch(42.85% 0.214 286.5)
XYZxyz(12.9061, 6.5543, 47.5891)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5024BB #8FBB24
analogous
#2444BB #5024BB #9B24BB
triadic
#5024BB #BB5024 #24BB50
tetradic
#5024BB #BB2444 #8FBB24 #24BB9B
square
#5024BB #BB2444 #8FBB24 #24BB9B
split-complementary
#5024BB #BB9B24 #44BB24
monochromatic
#241054 #3A1A88 #5024BB #6E42DB #9575E4

Accessibility & contrast

On white

9.09
#5024BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5024BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5024BB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5024BB#FFFFFF#000000##FFFFFF
##5024BB1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#1A5271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5024bb;
/* rgb */ color: rgb(80, 36, 187);
/* oklch */ color: oklch(42.8% 0.214 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e66d1',
    500: '#5024bb',
    950: '#000000',
  },
}
SCSS
$custom: #5024bb;
$custom-light: #8e66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5024bb",
  "rgb": {
    "r": 80,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 257.483,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.21373,
    "h": 286.5
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#5024BB
secondary
#B1CC6F
accent
#EB3DB8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5024BB

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

Preview Lab → · Contrast checker → · Palette generator →

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