#5820A9#5820A9

#5820A9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.198 H 294.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5820A9
RGBrgb(88, 32, 169)
HSLhsl(265, 68%, 39%)
HSVhsv(265, 81%, 66%)
CMYKcmyk(47.9%, 81.1%, 0%, 33.7%)
CIE-LABlab(29.34, 53.29, -62.72)
CIE-LCHlch(29.34, 82.30, 310.35°)
OKLaboklab(41.53% 0.0819 -0.1799)
OKLCHoklch(41.53% 0.198 294.5)
XYZxyz(11.7005, 5.9720, 38.0646)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5820A9 #71A920
analogous
#202CA9 #5820A9 #9D20A9
triadic
#5820A9 #A95820 #20A958
tetradic
#5820A9 #A9202C #71A920 #20A99D
square
#5820A9 #A9202C #71A920 #20A99D
split-complementary
#5820A9 #A99D20 #2CA920
monochromatic
#220D42 #3D1676 #5820A9 #742FD8 #9662E1

Accessibility & contrast

On white

9.57
#5820A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5820A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5820A9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5820A9#FFFFFF#000000##FFFFFF
##5820A91.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5820a9;
/* rgb */ color: rgb(88, 32, 169);
/* oklch */ color: oklch(41.5% 0.198 294.5);
Tailwind
colors: {
  custom: {
    50: '#9063c4',
    500: '#5820a9',
    950: '#000000',
  },
}
SCSS
$custom: #5820a9;
$custom-light: #9063c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5820a9",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 264.526,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.1977,
    "h": 294.5
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#5820A9
secondary
#9CC65F
accent
#EB3DA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5820A9

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

Preview Lab → · Contrast checker → · Palette generator →

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