#5822C4#5822C4

#5822C4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.224 H 288.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5822C4
RGBrgb(88, 34, 196)
HSLhsl(260, 70%, 45%)
HSVhsv(260, 83%, 77%)
CMYKcmyk(55.1%, 82.7%, 0%, 23.1%)
CIE-LABlab(32.27, 59.48, -73.95)
CIE-LCHlch(32.27, 94.90, 308.81°)
OKLaboklab(44.35% 0.0713 -0.2128)
OKLCHoklch(44.35% 0.224 288.5)
XYZxyz(14.5574, 7.2035, 52.8372)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5822C4 #8EC422
analogous
#223DC4 #5822C4 #A922C4
triadic
#5822C4 #C45822 #22C458
tetradic
#5822C4 #C4223D #8EC422 #22C4A9
square
#5822C4 #C4223D #8EC422 #22C4A9
split-complementary
#5822C4 #C4A922 #3DC422
monochromatic
#29105C #411990 #5822C4 #7845DF #9E79E8

Accessibility & contrast

On white

8.60
#5822C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5822C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5822C4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5822C4#FFFFFF#000000##FFFFFF
##5822C41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#295475
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5822c4;
/* rgb */ color: rgb(88, 34, 196);
/* oklch */ color: oklch(44.3% 0.224 288.5);
Tailwind
colors: {
  custom: {
    50: '#9466d7',
    500: '#5822c4',
    950: '#000000',
  },
}
SCSS
$custom: #5822c4;
$custom-light: #9466d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5822c4",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 196
  },
  "hsl": {
    "h": 260,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.22444,
    "h": 288.5
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#5822C4
secondary
#B0CF73
accent
#ED3BB2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5822C4

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

Preview Lab → · Contrast checker → · Palette generator →

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