#5722A6#5722A6

#5722A6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.193 H 294.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5722A6
RGBrgb(87, 34, 166)
HSLhsl(264, 66%, 39%)
HSVhsv(264, 80%, 65%)
CMYKcmyk(47.6%, 79.5%, 0%, 34.9%)
CIE-LABlab(29.22, 51.56, -61.11)
CIE-LCHlch(29.22, 79.96, 310.15°)
OKLaboklab(41.33% 0.0798 -0.1753)
OKLCHoklch(41.33% 0.193 294.5)
XYZxyz(11.3836, 5.9231, 36.6125)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5722A6 #71A622
analogous
#222FA6 #5722A6 #9922A6
triadic
#5722A6 #A65722 #22A657
tetradic
#5722A6 #A6222F #71A622 #22A699
square
#5722A6 #A6222F #71A622 #22A699
split-complementary
#5722A6 #A69922 #2FA622
monochromatic
#220D40 #3C1873 #5722A6 #7230D5 #9563DF

Accessibility & contrast

On white

9.61
#5722A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5722A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5722A6
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5722A6#FFFFFF#000000##FFFFFF
##5722A61.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#3F4764
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5722a6;
/* rgb */ color: rgb(87, 34, 166);
/* oklch */ color: oklch(41.3% 0.193 294.5);
Tailwind
colors: {
  custom: {
    50: '#8f64c2',
    500: '#5722a6',
    950: '#000000',
  },
}
SCSS
$custom: #5722a6;
$custom-light: #8f64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5722a6",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 264.091,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.19263,
    "h": 294.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#5722A6
secondary
#9CC45F
accent
#E93FA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5722A6

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

Preview Lab → · Contrast checker → · Palette generator →

#5722A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva