#5523A6#5523A6

#5523A6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.192 H 293.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5523A6
RGBrgb(85, 35, 166)
HSLhsl(263, 65%, 39%)
HSVhsv(263, 79%, 65%)
CMYKcmyk(48.8%, 78.9%, 0%, 34.9%)
CIE-LABlab(29.12, 50.84, -61.28)
CIE-LCHlch(29.12, 79.62, 309.68°)
OKLaboklab(41.21% 0.076 -0.1759)
OKLCHoklch(41.21% 0.192 293.4)
XYZxyz(11.2284, 5.8862, 36.6135)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523A6 #74A623
analogous
#2332A6 #5523A6 #9723A6
triadic
#5523A6 #A65523 #23A655
tetradic
#5523A6 #A62332 #74A623 #23A697
square
#5523A6 #A62332 #74A623 #23A697
split-complementary
#5523A6 #A69723 #32A623
monochromatic
#210E41 #3B1873 #5523A6 #7032D4 #9365DF

Accessibility & contrast

On white

9.64
#5523A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5523A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523A6
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523A6#FFFFFF#000000##FFFFFF
##5523A61.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#3C4864
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5523a6;
/* rgb */ color: rgb(85, 35, 166);
/* oklch */ color: oklch(41.2% 0.192 293.4);
Tailwind
colors: {
  custom: {
    50: '#8d64c2',
    500: '#5523a6',
    950: '#000000',
  },
}
SCSS
$custom: #5523a6;
$custom-light: #8d64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5523a6",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 262.901,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.19158,
    "h": 293.4
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#5523A6
secondary
#9EC461
accent
#E840A8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5523A6

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

Preview Lab → · Contrast checker → · Palette generator →

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