#5722BC#5722BC

#5722BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.216 H 289.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5722BC
RGBrgb(87, 34, 188)
HSLhsl(261, 69%, 44%)
HSVhsv(261, 82%, 74%)
CMYKcmyk(53.7%, 81.9%, 0%, 26.3%)
CIE-LABlab(31.35, 57.28, -70.75)
CIE-LCHlch(31.35, 91.04, 308.99°)
OKLaboklab(43.45% 0.0726 -0.2035)
OKLCHoklch(43.45% 0.216 289.6)
XYZxyz(13.5770, 6.8005, 48.1644)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5722BC #87BC22
analogous
#223ABC #5722BC #A422BC
triadic
#5722BC #BC5722 #22BC57
tetradic
#5722BC #BC223A #87BC22 #22BCA4
square
#5722BC #BC223A #87BC22 #22BCA4
split-complementary
#5722BC #BCA422 #3ABC22
monochromatic
#270F54 #3F1988 #5722BC #753FDC #9A73E6

Accessibility & contrast

On white

8.90
#5722BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5722BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5722BC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5722BC#FFFFFF#000000##FFFFFF
##5722BC1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#2F5171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5722bc;
/* rgb */ color: rgb(87, 34, 188);
/* oklch */ color: oklch(43.5% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#9265d1',
    500: '#5722bc',
    950: '#000000',
  },
}
SCSS
$custom: #5722bc;
$custom-light: #9265d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5722bc",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 260.649,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.21606,
    "h": 289.6
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#5722BC
secondary
#ACCD6D
accent
#EC3CAF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5722BC

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

Preview Lab → · Contrast checker → · Palette generator →

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