#5524B1#5524B1

#5524B1 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.203 H 290.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#5524B1
RGBrgb(85, 36, 177)
HSLhsl(261, 66%, 42%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.32, 53.32, -65.92)
CIE-LCHlch(30.32, 84.79, 308.97°)
OKLaboklab(42.36% 0.0718 -0.1895)
OKLCHoklch(42.36% 0.203 290.8)
XYZxyz(12.3107, 6.3669, 42.1667)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5524B1 #80B124
analogous
#243AB1 #5524B1 #9C24B1
triadic
#5524B1 #B15524 #24B155
tetradic
#5524B1 #B1243A #80B124 #24B19C
square
#5524B1 #B1243A #80B124 #24B19C
split-complementary
#5524B1 #B19C24 #3AB124
monochromatic
#240F4B #3D1A7E #5524B1 #713BD7 #966EE1

Accessibility & contrast

On white

9.24
#5524B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5524B1
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5524B1#FFFFFF#000000##FFFFFF
##5524B11.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#344D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5524b1;
/* rgb */ color: rgb(85, 36, 177);
/* oklch */ color: oklch(42.4% 0.203 290.8);
Tailwind
colors: {
  custom: {
    50: '#8f65ca',
    500: '#5524b1',
    950: '#000000',
  },
}
SCSS
$custom: #5524b1;
$custom-light: #8f65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5524b1",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 260.851,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.20263,
    "h": 290.8
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#5524B1
secondary
#A7C869
accent
#E93FAE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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