#5424BC#5424BC

#5424BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.215 H 288.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5424BC
RGBrgb(84, 36, 188)
HSLhsl(259, 68%, 44%)
HSVhsv(259, 81%, 74%)
CMYKcmyk(55.3%, 80.9%, 0%, 26.3%)
CIE-LABlab(31.29, 56.13, -70.86)
CIE-LCHlch(31.29, 90.40, 308.39°)
OKLaboklab(43.34% 0.0667 -0.2039)
OKLCHoklch(43.34% 0.215 288.1)
XYZxyz(13.3614, 6.7767, 48.1712)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424BC #8CBC24
analogous
#2440BC #5424BC #A024BC
triadic
#5424BC #BC5424 #24BC54
tetradic
#5424BC #BC2440 #8CBC24 #24BCA0
square
#5424BC #BC2440 #8CBC24 #24BCA0
split-complementary
#5424BC #BCA024 #40BC24
monochromatic
#261055 #3D1A89 #5424BC #7342DB #9976E5

Accessibility & contrast

On white

8.92
#5424BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5424BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5424BC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424BC#FFFFFF#000000##FFFFFF
##5424BC1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#275271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5424bc;
/* rgb */ color: rgb(84, 36, 188);
/* oklch */ color: oklch(43.3% 0.215 288.1);
Tailwind
colors: {
  custom: {
    50: '#9066d1',
    500: '#5424bc',
    950: '#000000',
  },
}
SCSS
$custom: #5424bc;
$custom-light: #9066d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5424bc",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 258.947,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.21456,
    "h": 288.1
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#5424BC
secondary
#AFCC70
accent
#EB3DB4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5424BC

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

Preview Lab → · Contrast checker → · Palette generator →

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