#5720BC#5720BC

#5720BC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.218 H 289.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#5720BC
RGBrgb(87, 32, 188)
HSLhsl(261, 71%, 43%)
HSVhsv(261, 83%, 74%)
CMYKcmyk(53.7%, 83%, 0%, 26.3%)
CIE-LABlab(31.09, 58.04, -71.18)
CIE-LCHlch(31.09, 91.85, 309.20°)
OKLaboklab(43.27% 0.0737 -0.2047)
OKLCHoklch(43.27% 0.218 289.8)
XYZxyz(13.5215, 6.6895, 48.1459)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5720BC #85BC20
analogous
#2037BC #5720BC #A520BC
triadic
#5720BC #BC5720 #20BC57
tetradic
#5720BC #BC2037 #85BC20 #20BCA5
square
#5720BC #BC2037 #85BC20 #20BCA5
split-complementary
#5720BC #BCA520 #37BC20
monochromatic
#270E53 #3F1788 #5720BC #753BDE #9A70E7

Accessibility & contrast

On white

8.98
#5720BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5720BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5720BC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5720BC#FFFFFF#000000##FFFFFF
##5720BC1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#2F5070
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5720bc;
/* rgb */ color: rgb(87, 32, 188);
/* oklch */ color: oklch(43.3% 0.218 289.8);
Tailwind
colors: {
  custom: {
    50: '#9264d1',
    500: '#5720bc',
    950: '#000000',
  },
}
SCSS
$custom: #5720bc;
$custom-light: #9264d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5720bc",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 261.154,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.2176,
    "h": 289.8
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#5720BC
secondary
#AACD6B
accent
#EE3AAE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5720BC

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

Preview Lab → · Contrast checker → · Palette generator →

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