#5716A1#5716A1

#5716A1 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.197 H 297.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#5716A1
RGBrgb(87, 22, 161)
HSLhsl(268, 76%, 36%)
HSVhsv(268, 86%, 63%)
CMYKcmyk(46%, 86.3%, 0%, 36.9%)
CIE-LABlab(27.22, 54.74, -61.36)
CIE-LCHlch(27.22, 82.23, 311.73°)
OKLaboklab(39.81% 0.0896 -0.1759)
OKLCHoklch(39.81% 0.197 297)
XYZxyz(10.6487, 5.1730, 34.1487)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5716A1 #60A116
analogous
#161AA1 #5716A1 #9C16A1
triadic
#5716A1 #A15716 #16A157
tetradic
#5716A1 #A1161A #60A116 #16A19C
square
#5716A1 #A1161A #60A116 #16A19C
split-complementary
#5716A1 #A19C16 #1AA116
monochromatic
#1D0735 #3A0F6B #5716A1 #741DD7 #944BE6

Accessibility & contrast

On white

10.32
#5716A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5716A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5716A1
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5716A1#FFFFFF#000000##FFFFFF
##5716A11.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#43415F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5716a1;
/* rgb */ color: rgb(87, 22, 161);
/* oklch */ color: oklch(39.8% 0.197 297.0);
Tailwind
colors: {
  custom: {
    50: '#8f5fbe',
    500: '#5716a1',
    950: '#000000',
  },
}
SCSS
$custom: #5716a1;
$custom-light: #8f5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5716a1",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 268.058,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.19743,
    "h": 297
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#5716A1
secondary
#8DC84B
accent
#F3359A
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5716A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5716A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva