#5423A9#5423A9

#5423A9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.195 H 292.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5423A9
RGBrgb(84, 35, 169)
HSLhsl(262, 66%, 40%)
HSVhsv(262, 79%, 66%)
CMYKcmyk(50.3%, 79.3%, 0%, 33.7%)
CIE-LABlab(29.29, 51.49, -62.82)
CIE-LCHlch(29.29, 81.23, 309.34°)
OKLaboklab(41.39% 0.0735 -0.1804)
OKLCHoklch(41.39% 0.195 292.2)
XYZxyz(11.4166, 5.9510, 38.0755)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423A9 #78A923
analogous
#2335A9 #5423A9 #9723A9
triadic
#5423A9 #A95423 #23A954
tetradic
#5423A9 #A92335 #78A923 #23A997
square
#5423A9 #A92335 #78A923 #23A997
split-complementary
#5423A9 #A99723 #35A923
monochromatic
#220E44 #3B1976 #5423A9 #6F34D5 #9367DF

Accessibility & contrast

On white

9.59
#5423A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5423A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423A9
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423A9#FFFFFF#000000##FFFFFF
##5423A91.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#384966
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5423a9;
/* rgb */ color: rgb(84, 35, 169);
/* oklch */ color: oklch(41.4% 0.195 292.2);
Tailwind
colors: {
  custom: {
    50: '#8d64c4',
    500: '#5423a9',
    950: '#000000',
  },
}
SCSS
$custom: #5423a9;
$custom-light: #8d64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5423a9",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 261.94,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.19482,
    "h": 292.2
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#5423A9
secondary
#A1C563
accent
#E93FAB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5423A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5423A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva