#5517A0#5517A0

#5517A0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.196 H 296.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#5517A0
RGBrgb(85, 23, 160)
HSLhsl(267, 75%, 36%)
HSVhsv(267, 86%, 63%)
CMYKcmyk(46.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(26.97, 53.92, -61.18)
CIE-LCHlch(26.97, 81.55, 311.39°)
OKLaboklab(39.55% 0.0862 -0.1755)
OKLCHoklch(39.55% 0.196 296.2)
XYZxyz(10.3962, 5.0819, 33.6840)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5517A0 #62A017
analogous
#171EA0 #5517A0 #9917A0
triadic
#5517A0 #A05517 #17A055
tetradic
#5517A0 #A0171E #62A017 #17A099
square
#5517A0 #A0171E #62A017 #17A099
split-complementary
#5517A0 #A09917 #1EA017
monochromatic
#1C0835 #390F6A #5517A0 #711FD6 #914CE5

Accessibility & contrast

On white

10.41
#5517A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5517A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5517A0
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5517A0#FFFFFF#000000##FFFFFF
##5517A01.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#40415F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5517a0;
/* rgb */ color: rgb(85, 23, 160);
/* oklch */ color: oklch(39.5% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#8d5fbd',
    500: '#5517a0',
    950: '#000000',
  },
}
SCSS
$custom: #5517a0;
$custom-light: #8d5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5517a0",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 267.153,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.19552,
    "h": 296.2
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#5517A0
secondary
#8FC74C
accent
#F1369D
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5517A0

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

Preview Lab → · Contrast checker → · Palette generator →

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