#5622AF#5622AF

#5622AF is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.1% C 0.202 H 291.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5622AF
RGBrgb(86, 34, 175)
HSLhsl(262, 67%, 41%)
HSVhsv(262, 81%, 69%)
CMYKcmyk(50.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(29.95, 53.76, -65.32)
CIE-LCHlch(29.95, 84.60, 309.46°)
OKLaboklab(42.08% 0.0754 -0.1877)
OKLCHoklch(42.08% 0.202 291.9)
XYZxyz(12.1454, 6.2172, 41.1092)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5622AF #7BAF22
analogous
#2234AF #5622AF #9C22AF
triadic
#5622AF #AF5622 #22AF56
tetradic
#5622AF #AF2234 #7BAF22 #22AF9C
square
#5622AF #AF2234 #7BAF22 #22AF9C
split-complementary
#5622AF #AF9C22 #34AF22
monochromatic
#240E49 #3D187C #5622AF #7236D8 #9669E2

Accessibility & contrast

On white

9.36
#5622AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5622AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5622AF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5622AF#FFFFFF#000000##FFFFFF
##5622AF1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#384B69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5622af;
/* rgb */ color: rgb(86, 34, 175);
/* oklch */ color: oklch(42.1% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#8f64c8',
    500: '#5622af',
    950: '#000000',
  },
}
SCSS
$custom: #5622af;
$custom-light: #8f64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5622af",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 262.128,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.20224,
    "h": 291.9
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#5622AF
secondary
#A3C865
accent
#EA3DAB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5622AF

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

Preview Lab → · Contrast checker → · Palette generator →

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