#5523A5#5523A5

#5523A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.190 H 293.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5523A5
RGBrgb(85, 35, 165)
HSLhsl(263, 65%, 39%)
HSVhsv(263, 79%, 65%)
CMYKcmyk(48.5%, 78.8%, 0%, 35.3%)
CIE-LABlab(29.03, 50.58, -60.83)
CIE-LCHlch(29.03, 79.11, 309.74°)
OKLaboklab(41.12% 0.0763 -0.1745)
OKLCHoklch(41.12% 0.19 293.6)
XYZxyz(11.1370, 5.8496, 36.1323)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523A5 #73A523
analogous
#2332A5 #5523A5 #9623A5
triadic
#5523A5 #A55523 #23A555
tetradic
#5523A5 #A52332 #73A523 #23A596
square
#5523A5 #A52332 #73A523 #23A596
split-complementary
#5523A5 #A59623 #32A523
monochromatic
#210E40 #3B1873 #5523A5 #7032D3 #9364DE

Accessibility & contrast

On white

9.68
#5523A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5523A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523A5
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523A5#FFFFFF#000000##FFFFFF
##5523A51.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#3C4864
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5523a5;
/* rgb */ color: rgb(85, 35, 165);
/* oklch */ color: oklch(41.1% 0.190 293.6);
Tailwind
colors: {
  custom: {
    50: '#8d64c1',
    500: '#5523a5',
    950: '#000000',
  },
}
SCSS
$custom: #5523a5;
$custom-light: #8d64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5523a5",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 263.077,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.19049,
    "h": 293.6
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#5523A5
secondary
#9DC460
accent
#E840A7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5523A5

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

Preview Lab → · Contrast checker → · Palette generator →

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