#5420BC#5420BC

#5420BC is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 43.0% C 0.218 H 288.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5420BC
RGBrgb(84, 32, 188)
HSLhsl(260, 71%, 43%)
HSVhsv(260, 83%, 74%)
CMYKcmyk(55.3%, 83%, 0%, 26.3%)
CIE-LABlab(30.75, 57.71, -71.74)
CIE-LCHlch(30.75, 92.07, 308.81°)
OKLaboklab(42.97% 0.069 -0.2065)
OKLCHoklch(42.97% 0.218 288.5)
XYZxyz(13.2471, 6.5480, 48.1331)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5420BC #88BC20
analogous
#203ABC #5420BC #A220BC
triadic
#5420BC #BC5420 #20BC54
tetradic
#5420BC #BC203A #88BC20 #20BCA2
square
#5420BC #BC203A #88BC20 #20BCA2
split-complementary
#5420BC #BCA220 #3ABC20
monochromatic
#250E53 #3D1788 #5420BC #723BDE #9770E7

Accessibility & contrast

On white

9.09
#5420BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5420BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5420BC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5420BC#FFFFFF#000000##FFFFFF
##5420BC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#275070
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5420bc;
/* rgb */ color: rgb(84, 32, 188);
/* oklch */ color: oklch(43.0% 0.218 288.5);
Tailwind
colors: {
  custom: {
    50: '#9064d2',
    500: '#5420bc',
    950: '#000000',
  },
}
SCSS
$custom: #5420bc;
$custom-light: #9064d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5420bc",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 260,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.21771,
    "h": 288.5
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#5420BC
secondary
#ACCD6B
accent
#EE3AB2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5420BC

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

Preview Lab → · Contrast checker → · Palette generator →

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