#5622C4#5622C4

#5622C4 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.225 H 287.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5622C4
RGBrgb(86, 34, 196)
HSLhsl(259, 70%, 45%)
HSVhsv(259, 83%, 77%)
CMYKcmyk(56.1%, 82.7%, 0%, 23.1%)
CIE-LABlab(32.05, 59.26, -74.31)
CIE-LCHlch(32.05, 95.05, 308.57°)
OKLaboklab(44.15% 0.0682 -0.2139)
OKLCHoklch(44.15% 0.225 287.7)
XYZxyz(14.3706, 7.1072, 52.8285)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5622C4 #90C422
analogous
#223FC4 #5622C4 #A722C4
triadic
#5622C4 #C45622 #22C456
tetradic
#5622C4 #C4223F #90C422 #22C4A7
square
#5622C4 #C4223F #90C422 #22C4A7
split-complementary
#5622C4 #C4A722 #3FC422
monochromatic
#28105C #3F1990 #5622C4 #7645DF #9C79E8

Accessibility & contrast

On white

8.67
#5622C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5622C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5622C4
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5622C4#FFFFFF#000000##FFFFFF
##5622C41.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#235475
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5622c4;
/* rgb */ color: rgb(86, 34, 196);
/* oklch */ color: oklch(44.1% 0.225 287.7);
Tailwind
colors: {
  custom: {
    50: '#9266d7',
    500: '#5622c4',
    950: '#000000',
  },
}
SCSS
$custom: #5622c4;
$custom-light: #9266d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5622c4",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 196
  },
  "hsl": {
    "h": 259.259,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.22454,
    "h": 287.7
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#5622C4
secondary
#B2CF73
accent
#ED3BB4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5622C4

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

Preview Lab → · Contrast checker → · Palette generator →

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