#5424B0#5424B0

#5424B0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.202 H 290.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5424B0
RGBrgb(84, 36, 176)
HSLhsl(261, 66%, 42%)
HSVhsv(261, 80%, 69%)
CMYKcmyk(52.3%, 79.5%, 0%, 31%)
CIE-LABlab(30.11, 52.93, -65.67)
CIE-LCHlch(30.11, 84.34, 308.87°)
OKLaboklab(42.16% 0.0706 -0.1888)
OKLCHoklch(42.16% 0.202 290.5)
XYZxyz(12.1213, 6.2806, 41.6395)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424B0 #80B024
analogous
#243AB0 #5424B0 #9A24B0
triadic
#5424B0 #B05424 #24B054
tetradic
#5424B0 #B0243A #80B024 #24B09A
square
#5424B0 #B0243A #80B024 #24B09A
split-complementary
#5424B0 #B09A24 #3AB024
monochromatic
#240F4A #3C1A7D #5424B0 #703AD7 #956DE1

Accessibility & contrast

On white

9.31
#5424B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5424B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5424B0
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424B0#FFFFFF#000000##FFFFFF
##5424B01.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#324D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5424b0;
/* rgb */ color: rgb(84, 36, 176);
/* oklch */ color: oklch(42.2% 0.202 290.5);
Tailwind
colors: {
  custom: {
    50: '#8e65c9',
    500: '#5424b0',
    950: '#000000',
  },
}
SCSS
$custom: #5424b0;
$custom-light: #8e65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5424b0",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 260.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.20154,
    "h": 290.5
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#5424B0
secondary
#A7C868
accent
#E93FAF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5424B0

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

Preview Lab → · Contrast checker → · Palette generator →

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