#5617A0#5617A0

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

Color values

HEX#5617A0
RGBrgb(86, 23, 160)
HSLhsl(268, 75%, 36%)
HSVhsv(268, 86%, 63%)
CMYKcmyk(46.3%, 85.6%, 0%, 37.3%)
CIE-LABlab(27.10, 54.05, -60.96)
CIE-LCHlch(27.10, 81.47, 311.56°)
OKLaboklab(39.67% 0.0878 -0.1748)
OKLCHoklch(39.67% 0.196 296.7)
XYZxyz(10.4876, 5.1290, 33.6883)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5617A0 #61A017
analogous
#171DA0 #5617A0 #9A17A0
triadic
#5617A0 #A05617 #17A056
tetradic
#5617A0 #A0171D #61A017 #17A09A
square
#5617A0 #A0171D #61A017 #17A09A
split-complementary
#5617A0 #A09A17 #1DA017
monochromatic
#1C0835 #390F6A #5617A0 #731FD6 #934CE5

Accessibility & contrast

On white

10.37
#5617A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5617A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5617A0
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5617A0#FFFFFF#000000##FFFFFF
##5617A01.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5617a0;
/* rgb */ color: rgb(86, 23, 160);
/* oklch */ color: oklch(39.7% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#8e5fbd',
    500: '#5617a0',
    950: '#000000',
  },
}
SCSS
$custom: #5617a0;
$custom-light: #8e5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5617a0",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 267.591,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.19561,
    "h": 296.7
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#5617A0
secondary
#8EC74C
accent
#F1369B
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5617A0

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

Preview Lab → · Contrast checker → · Palette generator →

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