#5621BC#5621BC

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

Color values

HEX#5621BC
RGBrgb(86, 33, 188)
HSLhsl(261, 70%, 43%)
HSVhsv(261, 82%, 74%)
CMYKcmyk(54.3%, 82.4%, 0%, 26.3%)
CIE-LABlab(31.11, 57.55, -71.16)
CIE-LCHlch(31.11, 91.52, 308.97°)
OKLaboklab(43.26% 0.0716 -0.2047)
OKLCHoklch(43.26% 0.217 289.3)
XYZxyz(13.4561, 6.6963, 48.1507)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5621BC #87BC21
analogous
#2139BC #5621BC #A321BC
triadic
#5621BC #BC5621 #21BC56
tetradic
#5621BC #BC2139 #87BC21 #21BCA3
square
#5621BC #BC2139 #87BC21 #21BCA3
split-complementary
#5621BC #BCA321 #39BC21
monochromatic
#260F54 #3E1888 #5621BC #743DDD #9971E6

Accessibility & contrast

On white

8.98
#5621BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5621BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5621BC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5621BC#FFFFFF#000000##FFFFFF
##5621BC1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5621bc;
/* rgb */ color: rgb(86, 33, 188);
/* oklch */ color: oklch(43.3% 0.217 289.3);
Tailwind
colors: {
  custom: {
    50: '#9165d1',
    500: '#5621bc',
    950: '#000000',
  },
}
SCSS
$custom: #5621bc;
$custom-light: #9165d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5621bc",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 260.516,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.21687,
    "h": 289.3
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#5621BC
secondary
#ACCD6C
accent
#ED3BB0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5621BC

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

Preview Lab → · Contrast checker → · Palette generator →

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