#5523B1#5523B1

#5523B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.204 H 290.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5523B1
RGBrgb(85, 35, 177)
HSLhsl(261, 67%, 42%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52%, 80.2%, 0%, 30.6%)
CIE-LABlab(30.17, 53.75, -66.16)
CIE-LCHlch(30.17, 85.24, 309.09°)
OKLaboklab(42.26% 0.0725 -0.1902)
OKLCHoklch(42.26% 0.204 290.9)
XYZxyz(12.2809, 6.3072, 42.1568)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523B1 #7FB123
analogous
#2338B1 #5523B1 #9C23B1
triadic
#5523B1 #B15523 #23B155
tetradic
#5523B1 #B12338 #7FB123 #23B19C
square
#5523B1 #B12338 #7FB123 #23B19C
split-complementary
#5523B1 #B19C23 #38B123
monochromatic
#240F4B #3C197E #5523B1 #7139D8 #966CE2

Accessibility & contrast

On white

9.29
#5523B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5523B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523B1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523B1#FFFFFF#000000##FFFFFF
##5523B11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5523b1;
/* rgb */ color: rgb(85, 35, 177);
/* oklch */ color: oklch(42.3% 0.204 290.9);
Tailwind
colors: {
  custom: {
    50: '#8f65ca',
    500: '#5523b1',
    950: '#000000',
  },
}
SCSS
$custom: #5523b1;
$custom-light: #8f65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5523b1",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 261.127,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.20352,
    "h": 290.9
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#5523B1
secondary
#A6C868
accent
#EA3EAD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5523B1

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

Preview Lab → · Contrast checker → · Palette generator →

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