#5622BC#5622BC

#5622BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.216 H 289.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5622BC
RGBrgb(86, 34, 188)
HSLhsl(260, 69%, 44%)
HSVhsv(260, 82%, 74%)
CMYKcmyk(54.3%, 81.9%, 0%, 26.3%)
CIE-LABlab(31.24, 57.17, -70.94)
CIE-LCHlch(31.24, 91.11, 308.86°)
OKLaboklab(43.35% 0.071 -0.2041)
OKLCHoklch(43.35% 0.216 289.2)
XYZxyz(13.4842, 6.7527, 48.1601)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5622BC #88BC22
analogous
#223BBC #5622BC #A322BC
triadic
#5622BC #BC5622 #22BC56
tetradic
#5622BC #BC223B #88BC22 #22BCA3
square
#5622BC #BC223B #88BC22 #22BCA3
split-complementary
#5622BC #BCA322 #3BBC22
monochromatic
#270F54 #3E1988 #5622BC #743FDC #9A73E6

Accessibility & contrast

On white

8.93
#5622BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5622BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5622BC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5622BC#FFFFFF#000000##FFFFFF
##5622BC1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#2C5171
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5622bc;
/* rgb */ color: rgb(86, 34, 188);
/* oklch */ color: oklch(43.3% 0.216 289.2);
Tailwind
colors: {
  custom: {
    50: '#9165d1',
    500: '#5622bc',
    950: '#000000',
  },
}
SCSS
$custom: #5622bc;
$custom-light: #9165d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5622bc",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 260.26,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.21608,
    "h": 289.2
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#5622BC
secondary
#ACCD6D
accent
#EC3CB1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5622BC

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

Preview Lab → · Contrast checker → · Palette generator →

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