#5224BC#5224BC

#5224BC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.215 H 287.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5224BC
RGBrgb(82, 36, 188)
HSLhsl(258, 68%, 44%)
HSVhsv(258, 81%, 74%)
CMYKcmyk(56.4%, 80.9%, 0%, 26.3%)
CIE-LABlab(31.08, 55.90, -71.21)
CIE-LCHlch(31.08, 90.53, 308.13°)
OKLaboklab(43.14% 0.0636 -0.205)
OKLCHoklch(43.14% 0.215 287.2)
XYZxyz(13.1849, 6.6857, 48.1629)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5224BC #8EBC24
analogous
#2442BC #5224BC #9E24BC
triadic
#5224BC #BC5224 #24BC52
tetradic
#5224BC #BC2442 #8EBC24 #24BC9E
square
#5224BC #BC2442 #8EBC24 #24BC9E
split-complementary
#5224BC #BC9E24 #42BC24
monochromatic
#251055 #3C1A89 #5224BC #7042DB #9776E5

Accessibility & contrast

On white

8.99
#5224BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5224BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5224BC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5224BC#FFFFFF#000000##FFFFFF
##5224BC1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#205271
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5224bc;
/* rgb */ color: rgb(82, 36, 188);
/* oklch */ color: oklch(43.1% 0.215 287.2);
Tailwind
colors: {
  custom: {
    50: '#8f66d1',
    500: '#5224bc',
    950: '#000000',
  },
}
SCSS
$custom: #5224bc;
$custom-light: #8f66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5224bc",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 258.158,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.21468,
    "h": 287.2
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#5224BC
secondary
#B0CC70
accent
#EB3DB6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5224BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5224BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva