#5722BD#5722BD

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

Color values

HEX#5722BD
RGBrgb(87, 34, 189)
HSLhsl(261, 70%, 44%)
HSVhsv(261, 82%, 74%)
CMYKcmyk(54%, 82%, 0%, 25.9%)
CIE-LABlab(31.45, 57.54, -71.18)
CIE-LCHlch(31.45, 91.53, 308.95°)
OKLaboklab(43.55% 0.0722 -0.2048)
OKLCHoklch(43.55% 0.217 289.4)
XYZxyz(13.6851, 6.8438, 48.7341)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5722BD #88BD22
analogous
#223ABD #5722BD #A422BD
triadic
#5722BD #BD5722 #22BD57
tetradic
#5722BD #BD223A #88BD22 #22BDA4
square
#5722BD #BD223A #88BD22 #22BDA4
split-complementary
#5722BD #BDA422 #3ABD22
monochromatic
#270F55 #3F1989 #5722BD #7540DD #9B73E6

Accessibility & contrast

On white

8.87
#5722BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5722BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5722BD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5722BD#FFFFFF#000000##FFFFFF
##5722BD1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#2E5171
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5722bd;
/* rgb */ color: rgb(87, 34, 189);
/* oklch */ color: oklch(43.5% 0.217 289.4);
Tailwind
colors: {
  custom: {
    50: '#9265d2',
    500: '#5722bd',
    950: '#000000',
  },
}
SCSS
$custom: #5722bd;
$custom-light: #9265d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5722bd",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 260.516,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.21712,
    "h": 289.4
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#5722BD
secondary
#ACCD6E
accent
#EC3BB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5722BD

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

Preview Lab → · Contrast checker → · Palette generator →

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