#5722A9#5722A9

#5722A9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.196 H 293.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5722A9
RGBrgb(87, 34, 169)
HSLhsl(264, 67%, 40%)
HSVhsv(264, 80%, 66%)
CMYKcmyk(48.5%, 79.9%, 0%, 33.7%)
CIE-LABlab(29.50, 52.34, -62.46)
CIE-LCHlch(29.50, 81.49, 309.96°)
OKLaboklab(41.61% 0.0789 -0.1793)
OKLCHoklch(41.61% 0.196 293.8)
XYZxyz(11.6620, 6.0345, 38.0787)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5722A9 #74A922
analogous
#2230A9 #5722A9 #9B22A9
triadic
#5722A9 #A95722 #22A957
tetradic
#5722A9 #A92230 #74A922 #22A99B
square
#5722A9 #A92230 #74A922 #22A99B
split-complementary
#5722A9 #A99B22 #30A922
monochromatic
#230D43 #3D1876 #5722A9 #7332D6 #9665E0

Accessibility & contrast

On white

9.52
#5722A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5722A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5722A9
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5722A9#FFFFFF#000000##FFFFFF
##5722A91.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#3E4966
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5722a9;
/* rgb */ color: rgb(87, 34, 169);
/* oklch */ color: oklch(41.6% 0.196 293.8);
Tailwind
colors: {
  custom: {
    50: '#8f64c4',
    500: '#5722a9',
    950: '#000000',
  },
}
SCSS
$custom: #5722a9;
$custom-light: #8f64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5722a9",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 263.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.19586,
    "h": 293.8
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#5722A9
secondary
#9EC561
accent
#E93EA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5722A9

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

Preview Lab → · Contrast checker → · Palette generator →

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