#5524B0#5524B0

#5524B0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.202 H 291.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5524B0
RGBrgb(85, 36, 176)
HSLhsl(261, 66%, 42%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(51.7%, 79.5%, 0%, 31%)
CIE-LABlab(30.22, 53.06, -65.48)
CIE-LCHlch(30.22, 84.28, 309.02°)
OKLaboklab(42.27% 0.0722 -0.1882)
OKLCHoklch(42.27% 0.202 291)
XYZxyz(12.2114, 6.3271, 41.6437)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5524B0 #7FB024
analogous
#2439B0 #5524B0 #9B24B0
triadic
#5524B0 #B05524 #24B055
tetradic
#5524B0 #B02439 #7FB024 #24B09B
square
#5524B0 #B02439 #7FB024 #24B09B
split-complementary
#5524B0 #B09B24 #39B024
monochromatic
#240F4A #3C1A7D #5524B0 #713AD7 #966DE1

Accessibility & contrast

On white

9.27
#5524B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5524B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5524B0
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5524B0#FFFFFF#000000##FFFFFF
##5524B01.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#354D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5524b0;
/* rgb */ color: rgb(85, 36, 176);
/* oklch */ color: oklch(42.3% 0.202 291.0);
Tailwind
colors: {
  custom: {
    50: '#8f65c9',
    500: '#5524b0',
    950: '#000000',
  },
}
SCSS
$custom: #5524b0;
$custom-light: #8f65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5524b0",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 261,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.20154,
    "h": 291
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#5524B0
secondary
#A6C868
accent
#E93FAD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5524B0

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

Preview Lab → · Contrast checker → · Palette generator →

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