#5722AF#5722AF

#5722AF is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.202 H 292.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5722AF
RGBrgb(87, 34, 175)
HSLhsl(263, 67%, 41%)
HSVhsv(263, 81%, 69%)
CMYKcmyk(50.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(30.07, 53.90, -65.12)
CIE-LCHlch(30.07, 84.53, 309.61°)
OKLaboklab(42.18% 0.077 -0.187)
OKLCHoklch(42.18% 0.202 292.4)
XYZxyz(12.2382, 6.2650, 41.1136)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5722AF #7AAF22
analogous
#2234AF #5722AF #9D22AF
triadic
#5722AF #AF5722 #22AF57
tetradic
#5722AF #AF2234 #7AAF22 #22AF9D
square
#5722AF #AF2234 #7AAF22 #22AF9D
split-complementary
#5722AF #AF9D22 #34AF22
monochromatic
#240E49 #3E187C #5722AF #7336D8 #9769E2

Accessibility & contrast

On white

9.32
#5722AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5722AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5722AF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5722AF#FFFFFF#000000##FFFFFF
##5722AF1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5722af;
/* rgb */ color: rgb(87, 34, 175);
/* oklch */ color: oklch(42.2% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#9065c8',
    500: '#5722af',
    950: '#000000',
  },
}
SCSS
$custom: #5722af;
$custom-light: #9065c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5722af",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 262.553,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.20226,
    "h": 292.4
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5722AF

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

Preview Lab → · Contrast checker → · Palette generator →

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