#5523B2#5523B2

#5523B2 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.205 H 290.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#5523B2
RGBrgb(85, 35, 178)
HSLhsl(261, 67%, 42%)
HSVhsv(261, 80%, 70%)
CMYKcmyk(52.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(30.27, 54.01, -66.59)
CIE-LCHlch(30.27, 85.74, 309.04°)
OKLaboklab(42.36% 0.0722 -0.1914)
OKLCHoklch(42.36% 0.205 290.7)
XYZxyz(12.3809, 6.3472, 42.6836)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523B2 #80B223
analogous
#2339B2 #5523B2 #9D23B2
triadic
#5523B2 #B25523 #23B255
tetradic
#5523B2 #B22339 #80B223 #23B29D
square
#5523B2 #B22339 #80B223 #23B29D
split-complementary
#5523B2 #B29D23 #39B223
monochromatic
#240F4C #3D197F #5523B2 #713AD8 #966DE2

Accessibility & contrast

On white

9.25
#5523B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5523B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523B2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523B2#FFFFFF#000000##FFFFFF
##5523B21.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#334D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5523b2;
/* rgb */ color: rgb(85, 35, 178);
/* oklch */ color: oklch(42.4% 0.205 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f65ca',
    500: '#5523b2',
    950: '#000000',
  },
}
SCSS
$custom: #5523b2;
$custom-light: #8f65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5523b2",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 260.979,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.20459,
    "h": 290.7
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#5523B2
secondary
#A7C968
accent
#EA3EAE
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5523B2

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

Preview Lab → · Contrast checker → · Palette generator →

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