#5421BC#5421BC

#5421BC is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.217 H 288.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#5421BC
RGBrgb(84, 33, 188)
HSLhsl(260, 70%, 43%)
HSVhsv(260, 82%, 74%)
CMYKcmyk(55.3%, 82.4%, 0%, 26.3%)
CIE-LABlab(30.88, 57.33, -71.53)
CIE-LCHlch(30.88, 91.67, 308.71°)
OKLaboklab(43.06% 0.0685 -0.2059)
OKLCHoklch(43.06% 0.217 288.4)
XYZxyz(13.2744, 6.6027, 48.1422)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5421BC #89BC21
analogous
#213BBC #5421BC #A121BC
triadic
#5421BC #BC5421 #21BC54
tetradic
#5421BC #BC213B #89BC21 #21BCA1
square
#5421BC #BC213B #89BC21 #21BCA1
split-complementary
#5421BC #BCA121 #3BBC21
monochromatic
#250F54 #3D1888 #5421BC #723DDD #9871E6

Accessibility & contrast

On white

9.05
#5421BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5421BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5421BC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5421BC#FFFFFF#000000##FFFFFF
##5421BC1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.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: #5421bc;
/* rgb */ color: rgb(84, 33, 188);
/* oklch */ color: oklch(43.1% 0.217 288.4);
Tailwind
colors: {
  custom: {
    50: '#9065d2',
    500: '#5421bc',
    950: '#000000',
  },
}
SCSS
$custom: #5421bc;
$custom-light: #9065d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5421bc",
  "rgb": {
    "r": 84,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 259.742,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.21694,
    "h": 288.4
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#5421BC
secondary
#ADCD6C
accent
#ED3BB2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5421BC

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

Preview Lab → · Contrast checker → · Palette generator →

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