#5720A9#5720A9

#5720A9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.198 H 294.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5720A9
RGBrgb(87, 32, 169)
HSLhsl(264, 68%, 39%)
HSVhsv(264, 81%, 66%)
CMYKcmyk(48.5%, 81.1%, 0%, 33.7%)
CIE-LABlab(29.22, 53.15, -62.92)
CIE-LCHlch(29.22, 82.37, 310.19°)
OKLaboklab(41.42% 0.0803 -0.1806)
OKLCHoklch(41.42% 0.198 294)
XYZxyz(11.6064, 5.9235, 38.0602)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5720A9 #72A920
analogous
#202DA9 #5720A9 #9C20A9
triadic
#5720A9 #A95720 #20A957
tetradic
#5720A9 #A9202D #72A920 #20A99C
square
#5720A9 #A9202D #72A920 #20A99C
split-complementary
#5720A9 #A99C20 #2DA920
monochromatic
#220D42 #3D1676 #5720A9 #722FD8 #9562E1

Accessibility & contrast

On white

9.61
#5720A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5720A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5720A9
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5720A9#FFFFFF#000000##FFFFFF
##5720A91.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#3E4865
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5720a9;
/* rgb */ color: rgb(87, 32, 169);
/* oklch */ color: oklch(41.4% 0.198 294.0);
Tailwind
colors: {
  custom: {
    50: '#8f63c4',
    500: '#5720a9',
    950: '#000000',
  },
}
SCSS
$custom: #5720a9;
$custom-light: #8f63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5720a9",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 264.088,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.19765,
    "h": 294
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#5720A9
secondary
#9DC65F
accent
#EB3DA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5720A9

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

Preview Lab → · Contrast checker → · Palette generator →

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