#5921BC#5921BC

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

Color values

HEX#5921BC
RGBrgb(89, 33, 188)
HSLhsl(262, 70%, 43%)
HSVhsv(262, 82%, 74%)
CMYKcmyk(52.7%, 82.4%, 0%, 26.3%)
CIE-LABlab(31.44, 57.90, -70.59)
CIE-LCHlch(31.44, 91.30, 309.36°)
OKLaboklab(43.57% 0.0763 -0.203)
OKLCHoklch(43.57% 0.217 290.6)
XYZxyz(13.7382, 6.8418, 48.1639)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5921BC #84BC21
analogous
#2137BC #5921BC #A621BC
triadic
#5921BC #BC5921 #21BC59
tetradic
#5921BC #BC2137 #84BC21 #21BCA6
square
#5921BC #BC2137 #84BC21 #21BCA6
split-complementary
#5921BC #BCA621 #37BC21
monochromatic
#280F54 #401888 #5921BC #773DDD #9B71E6

Accessibility & contrast

On white

8.87
#5921BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5921BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5921BC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5921BC#FFFFFF#000000##FFFFFF
##5921BC1.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)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#345071
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5921bc;
/* rgb */ color: rgb(89, 33, 188);
/* oklch */ color: oklch(43.6% 0.217 290.6);
Tailwind
colors: {
  custom: {
    50: '#9365d1',
    500: '#5921bc',
    950: '#000000',
  },
}
SCSS
$custom: #5921bc;
$custom-light: #9365d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5921bc",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 261.677,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.21681,
    "h": 290.6
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#5921BC
secondary
#AACD6C
accent
#ED3BAD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5921BC

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

Preview Lab → · Contrast checker → · Palette generator →

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