#5523A0#5523A0

#5523A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.185 H 294.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#5523A0
RGBrgb(85, 35, 160)
HSLhsl(264, 64%, 38%)
HSVhsv(264, 78%, 63%)
CMYKcmyk(46.9%, 78.1%, 0%, 37.3%)
CIE-LABlab(28.57, 49.26, -58.56)
CIE-LCHlch(28.57, 76.52, 310.07°)
OKLaboklab(40.65% 0.0778 -0.1679)
OKLCHoklch(40.65% 0.185 294.9)
XYZxyz(10.6908, 5.6711, 33.7822)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523A0 #6EA023
analogous
#232FA0 #5523A0 #9323A0
triadic
#5523A0 #A05523 #23A055
tetradic
#5523A0 #A0232F #6EA023 #23A093
square
#5523A0 #A0232F #6EA023 #23A093
split-complementary
#5523A0 #A09323 #2FA023
monochromatic
#200D3C #3A186E #5523A0 #702FD1 #9261DC

Accessibility & contrast

On white

9.84
#5523A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5523A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523A0
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523A0#FFFFFF#000000##FFFFFF
##5523A01.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#3F4661
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5523a0;
/* rgb */ color: rgb(85, 35, 160);
/* oklch */ color: oklch(40.7% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#8d64bd',
    500: '#5523a0',
    950: '#000000',
  },
}
SCSS
$custom: #5523a0;
$custom-light: #8d64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5523a0",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 264,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.18503,
    "h": 294.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#5523A0
secondary
#99C15D
accent
#E741A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5523A0

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

Preview Lab → · Contrast checker → · Palette generator →

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