#5422BC#5422BC

#5422BC is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.216 H 288.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5422BC
RGBrgb(84, 34, 188)
HSLhsl(259, 69%, 44%)
HSVhsv(259, 82%, 74%)
CMYKcmyk(55.3%, 81.9%, 0%, 26.3%)
CIE-LABlab(31.02, 56.94, -71.31)
CIE-LCHlch(31.02, 91.25, 308.61°)
OKLaboklab(43.15% 0.0679 -0.2052)
OKLCHoklch(43.15% 0.216 288.3)
XYZxyz(13.3026, 6.6590, 48.1516)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422BC #8ABC22
analogous
#223DBC #5422BC #A122BC
triadic
#5422BC #BC5422 #22BC54
tetradic
#5422BC #BC223D #8ABC22 #22BCA1
square
#5422BC #BC223D #8ABC22 #22BCA1
split-complementary
#5422BC #BCA122 #3DBC22
monochromatic
#260F54 #3D1988 #5422BC #723FDC #9873E6

Accessibility & contrast

On white

9.01
#5422BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5422BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422BC
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422BC#FFFFFF#000000##FFFFFF
##5422BC1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5422bc;
/* rgb */ color: rgb(84, 34, 188);
/* oklch */ color: oklch(43.1% 0.216 288.3);
Tailwind
colors: {
  custom: {
    50: '#9065d1',
    500: '#5422bc',
    950: '#000000',
  },
}
SCSS
$custom: #5422bc;
$custom-light: #9065d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5422bc",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 259.481,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.21616,
    "h": 288.3
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#5422BC
secondary
#AECD6D
accent
#EC3CB3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5422BC

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

Preview Lab → · Contrast checker → · Palette generator →

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