#5822A9#5822A9

#5822A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.196 H 294.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5822A9
RGBrgb(88, 34, 169)
HSLhsl(264, 67%, 40%)
HSVhsv(264, 80%, 66%)
CMYKcmyk(47.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(29.62, 52.48, -62.26)
CIE-LCHlch(29.62, 81.42, 310.13°)
OKLaboklab(41.73% 0.0804 -0.1786)
OKLCHoklch(41.73% 0.196 294.2)
XYZxyz(11.7560, 6.0830, 38.0831)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5822A9 #73A922
analogous
#2230A9 #5822A9 #9B22A9
triadic
#5822A9 #A95822 #22A958
tetradic
#5822A9 #A92230 #73A922 #22A99B
square
#5822A9 #A92230 #73A922 #22A99B
split-complementary
#5822A9 #A99B22 #30A922
monochromatic
#230D43 #3D1876 #5822A9 #7432D6 #9665E0

Accessibility & contrast

On white

9.47
#5822A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5822A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5822A9
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5822A9#FFFFFF#000000##FFFFFF
##5822A91.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#3F4966
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5822a9;
/* rgb */ color: rgb(88, 34, 169);
/* oklch */ color: oklch(41.7% 0.196 294.2);
Tailwind
colors: {
  custom: {
    50: '#9064c4',
    500: '#5822a9',
    950: '#000000',
  },
}
SCSS
$custom: #5822a9;
$custom-light: #9064c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5822a9",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 264,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.19591,
    "h": 294.2
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#5822A9
secondary
#9DC561
accent
#E93EA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5822A9

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

Preview Lab → · Contrast checker → · Palette generator →

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