#5224B0#5224B0

#5224B0 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.202 H 289.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#5224B0
RGBrgb(82, 36, 176)
HSLhsl(260, 66%, 42%)
HSVhsv(260, 80%, 69%)
CMYKcmyk(53.4%, 79.5%, 0%, 31%)
CIE-LABlab(29.89, 52.66, -66.05)
CIE-LCHlch(29.89, 84.47, 308.57°)
OKLaboklab(41.95% 0.0675 -0.1899)
OKLCHoklch(41.95% 0.202 289.6)
XYZxyz(11.9447, 6.1896, 41.6312)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5224B0 #82B024
analogous
#243CB0 #5224B0 #9824B0
triadic
#5224B0 #B05224 #24B052
tetradic
#5224B0 #B0243C #82B024 #24B098
square
#5224B0 #B0243C #82B024 #24B098
split-complementary
#5224B0 #B09824 #3CB024
monochromatic
#230F4A #3A1A7D #5224B0 #6E3AD7 #936DE1

Accessibility & contrast

On white

9.38
#5224B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5224B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5224B0
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5224B0#FFFFFF#000000##FFFFFF
##5224B01.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#2E4D6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5224b0;
/* rgb */ color: rgb(82, 36, 176);
/* oklch */ color: oklch(42.0% 0.202 289.6);
Tailwind
colors: {
  custom: {
    50: '#8d65c9',
    500: '#5224b0',
    950: '#000000',
  },
}
SCSS
$custom: #5224b0;
$custom-light: #8d65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5224b0",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 259.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.20158,
    "h": 289.6
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#5224B0
secondary
#A8C868
accent
#E93FB1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5224B0

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

Preview Lab → · Contrast checker → · Palette generator →

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