#5721BC#5721BC

#5721BC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.4% C 0.217 H 289.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#5721BC
RGBrgb(87, 33, 188)
HSLhsl(261, 70%, 43%)
HSVhsv(261, 82%, 74%)
CMYKcmyk(53.7%, 82.4%, 0%, 26.3%)
CIE-LABlab(31.22, 57.67, -70.97)
CIE-LCHlch(31.22, 91.44, 309.10°)
OKLaboklab(43.36% 0.0731 -0.2041)
OKLCHoklch(43.36% 0.217 289.7)
XYZxyz(13.5488, 6.7442, 48.1550)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5721BC #86BC21
analogous
#2138BC #5721BC #A421BC
triadic
#5721BC #BC5721 #21BC57
tetradic
#5721BC #BC2138 #86BC21 #21BCA4
square
#5721BC #BC2138 #86BC21 #21BCA4
split-complementary
#5721BC #BCA421 #38BC21
monochromatic
#270F54 #3F1888 #5721BC #753DDD #9A71E6

Accessibility & contrast

On white

8.94
#5721BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5721BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5721BC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5721BC#FFFFFF#000000##FFFFFF
##5721BC1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#2F5071
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5721bc;
/* rgb */ color: rgb(87, 33, 188);
/* oklch */ color: oklch(43.4% 0.217 289.7);
Tailwind
colors: {
  custom: {
    50: '#9265d1',
    500: '#5721bc',
    950: '#000000',
  },
}
SCSS
$custom: #5721bc;
$custom-light: #9265d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5721bc",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 260.903,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.21685,
    "h": 289.7
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#5721BC
secondary
#ABCD6C
accent
#ED3BAF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5721BC

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

Preview Lab → · Contrast checker → · Palette generator →

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