#5622A5#5622A5

#5622A5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.192 H 294.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5622A5
RGBrgb(86, 34, 165)
HSLhsl(264, 66%, 39%)
HSVhsv(264, 79%, 65%)
CMYKcmyk(47.9%, 79.4%, 0%, 35.3%)
CIE-LABlab(29.00, 51.15, -60.87)
CIE-LCHlch(29.00, 79.51, 310.04°)
OKLaboklab(41.13% 0.0786 -0.1746)
OKLCHoklch(41.13% 0.192 294.2)
XYZxyz(11.1994, 5.8388, 36.1269)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5622A5 #71A522
analogous
#2230A5 #5622A5 #9822A5
triadic
#5622A5 #A55622 #22A556
tetradic
#5622A5 #A52230 #71A522 #22A598
square
#5622A5 #A52230 #71A522 #22A598
split-complementary
#5622A5 #A59822 #30A522
monochromatic
#210D40 #3C1872 #5622A5 #7130D4 #9463DF

Accessibility & contrast

On white

9.69
#5622A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5622A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5622A5
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5622A5#FFFFFF#000000##FFFFFF
##5622A51.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#3E4763
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5622a5;
/* rgb */ color: rgb(86, 34, 165);
/* oklch */ color: oklch(41.1% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#8e64c1',
    500: '#5622a5',
    950: '#000000',
  },
}
SCSS
$custom: #5622a5;
$custom-light: #8e64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5622a5",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 263.817,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.1915,
    "h": 294.2
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#5622A5
secondary
#9CC45F
accent
#E93FA5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5622A5

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

Preview Lab → · Contrast checker → · Palette generator →

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