#5424B1#5424B1

#5424B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.203 H 290.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5424B1
RGBrgb(84, 36, 177)
HSLhsl(260, 66%, 42%)
HSVhsv(260, 80%, 69%)
CMYKcmyk(52.5%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.21, 53.19, -66.11)
CIE-LCHlch(30.21, 84.85, 308.82°)
OKLaboklab(42.26% 0.0703 -0.1901)
OKLCHoklch(42.26% 0.203 290.3)
XYZxyz(12.2206, 6.3204, 42.1625)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424B1 #81B124
analogous
#243AB1 #5424B1 #9B24B1
triadic
#5424B1 #B15424 #24B154
tetradic
#5424B1 #B1243A #81B124 #24B19B
square
#5424B1 #B1243A #81B124 #24B19B
split-complementary
#5424B1 #B19B24 #3AB124
monochromatic
#240F4B #3C1A7E #5424B1 #703BD7 #956EE1

Accessibility & contrast

On white

9.27
#5424B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5424B1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424B1#FFFFFF#000000##FFFFFF
##5424B11.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#324D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5424b1;
/* rgb */ color: rgb(84, 36, 177);
/* oklch */ color: oklch(42.3% 0.203 290.3);
Tailwind
colors: {
  custom: {
    50: '#8e65ca',
    500: '#5424b1',
    950: '#000000',
  },
}
SCSS
$custom: #5424b1;
$custom-light: #8e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5424b1",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 260.426,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.20264,
    "h": 290.3
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5424B1

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

Preview Lab → · Contrast checker → · Palette generator →

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