#5720A7#5720A7

#5720A7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.196 H 294.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5720A7
RGBrgb(87, 32, 167)
HSLhsl(264, 68%, 39%)
HSVhsv(264, 81%, 65%)
CMYKcmyk(47.9%, 80.8%, 0%, 34.5%)
CIE-LABlab(29.03, 52.64, -62.03)
CIE-LCHlch(29.03, 81.35, 310.32°)
OKLaboklab(41.23% 0.081 -0.178)
OKLCHoklch(41.23% 0.196 294.5)
XYZxyz(11.4201, 5.8489, 37.0790)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5720A7 #70A720
analogous
#202DA7 #5720A7 #9B20A7
triadic
#5720A7 #A75720 #20A757
tetradic
#5720A7 #A7202D #70A720 #20A79B
square
#5720A7 #A7202D #70A720 #20A79B
split-complementary
#5720A7 #A79B20 #2DA720
monochromatic
#210C40 #3C1674 #5720A7 #722DD7 #9561E1

Accessibility & contrast

On white

9.68
#5720A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5720A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5720A7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5720A7#FFFFFF#000000##FFFFFF
##5720A71.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#3F4764
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5720a7;
/* rgb */ color: rgb(87, 32, 167);
/* oklch */ color: oklch(41.2% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#8f63c2',
    500: '#5720a7',
    950: '#000000',
  },
}
SCSS
$custom: #5720a7;
$custom-light: #8f63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5720a7",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 264.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.19554,
    "h": 294.5
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#5720A7
secondary
#9BC55D
accent
#EB3DA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5720A7

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

Preview Lab → · Contrast checker → · Palette generator →

#5720A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva