#5822BC#5822BC

#5822BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.216 H 290.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5822BC
RGBrgb(88, 34, 188)
HSLhsl(261, 69%, 44%)
HSVhsv(261, 82%, 74%)
CMYKcmyk(53.2%, 81.9%, 0%, 26.3%)
CIE-LABlab(31.46, 57.40, -70.56)
CIE-LCHlch(31.46, 90.96, 309.13°)
OKLaboklab(43.55% 0.0741 -0.2029)
OKLCHoklch(43.55% 0.216 290.1)
XYZxyz(13.6710, 6.8490, 48.1688)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5822BC #86BC22
analogous
#2239BC #5822BC #A522BC
triadic
#5822BC #BC5822 #22BC58
tetradic
#5822BC #BC2239 #86BC22 #22BCA5
square
#5822BC #BC2239 #86BC22 #22BCA5
split-complementary
#5822BC #BCA522 #39BC22
monochromatic
#270F54 #401988 #5822BC #763FDC #9B73E6

Accessibility & contrast

On white

8.86
#5822BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5822BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5822BC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5822BC#FFFFFF#000000##FFFFFF
##5822BC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#325171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5822bc;
/* rgb */ color: rgb(88, 34, 188);
/* oklch */ color: oklch(43.6% 0.216 290.1);
Tailwind
colors: {
  custom: {
    50: '#9265d1',
    500: '#5822bc',
    950: '#000000',
  },
}
SCSS
$custom: #5822bc;
$custom-light: #9265d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5822bc",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 261.039,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.21604,
    "h": 290.1
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#5822BC
secondary
#ABCD6D
accent
#EC3CAE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5822BC

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

Preview Lab → · Contrast checker → · Palette generator →

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