#5622A7#5622A7

#5622A7 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.194 H 293.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5622A7
RGBrgb(86, 34, 167)
HSLhsl(263, 66%, 39%)
HSVhsv(263, 80%, 65%)
CMYKcmyk(48.5%, 79.6%, 0%, 34.5%)
CIE-LABlab(29.19, 51.67, -61.77)
CIE-LCHlch(29.19, 80.53, 309.92°)
OKLaboklab(41.31% 0.078 -0.1773)
OKLCHoklch(41.31% 0.194 293.7)
XYZxyz(11.3829, 5.9121, 37.0931)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5622A7 #73A722
analogous
#2230A7 #5622A7 #9922A7
triadic
#5622A7 #A75622 #22A756
tetradic
#5622A7 #A72230 #73A722 #22A799
square
#5622A7 #A72230 #73A722 #22A799
split-complementary
#5622A7 #A79922 #30A722
monochromatic
#220D41 #3C1874 #5622A7 #7131D5 #9464DF

Accessibility & contrast

On white

9.62
#5622A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5622A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5622A7
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5622A7#FFFFFF#000000##FFFFFF
##5622A71.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#3D4865
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5622a7;
/* rgb */ color: rgb(86, 34, 167);
/* oklch */ color: oklch(41.3% 0.194 293.7);
Tailwind
colors: {
  custom: {
    50: '#8e64c2',
    500: '#5622a7',
    950: '#000000',
  },
}
SCSS
$custom: #5622a7;
$custom-light: #8e64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5622a7",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 263.459,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.19366,
    "h": 293.7
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#5622A7
secondary
#9DC560
accent
#E93FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5622A7

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

Preview Lab → · Contrast checker → · Palette generator →

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