#5720A8#5720A8

#5720A8 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.197 H 294.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5720A8
RGBrgb(87, 32, 168)
HSLhsl(264, 68%, 39%)
HSVhsv(264, 81%, 66%)
CMYKcmyk(48.2%, 81%, 0%, 34.1%)
CIE-LABlab(29.12, 52.90, -62.48)
CIE-LCHlch(29.12, 81.86, 310.25°)
OKLaboklab(41.32% 0.0807 -0.1793)
OKLCHoklch(41.32% 0.197 294.2)
XYZxyz(11.5129, 5.8861, 37.5677)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5720A8 #71A820
analogous
#202DA8 #5720A8 #9B20A8
triadic
#5720A8 #A85720 #20A857
tetradic
#5720A8 #A8202D #71A820 #20A89B
square
#5720A8 #A8202D #71A820 #20A89B
split-complementary
#5720A8 #A89B20 #2DA820
monochromatic
#220C41 #3C1675 #5720A8 #722ED7 #9561E1

Accessibility & contrast

On white

9.65
#5720A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5720A8
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5720A8#FFFFFF#000000##FFFFFF
##5720A81.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#3E4765
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5720a8;
/* rgb */ color: rgb(87, 32, 168);
/* oklch */ color: oklch(41.3% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#8f63c3',
    500: '#5720a8',
    950: '#000000',
  },
}
SCSS
$custom: #5720a8;
$custom-light: #8f63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5720a8",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 264.265,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.1966,
    "h": 294.2
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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