#5423A5#5423A5

#5423A5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.190 H 293.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5423A5
RGBrgb(84, 35, 165)
HSLhsl(263, 65%, 39%)
HSVhsv(263, 79%, 65%)
CMYKcmyk(49.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(28.91, 50.43, -61.03)
CIE-LCHlch(28.91, 79.17, 309.57°)
OKLaboklab(41.01% 0.0748 -0.1752)
OKLCHoklch(41.01% 0.19 293.1)
XYZxyz(11.0468, 5.8031, 36.1281)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423A5 #74A523
analogous
#2333A5 #5423A5 #9523A5
triadic
#5423A5 #A55423 #23A554
tetradic
#5423A5 #A52333 #74A523 #23A595
square
#5423A5 #A52333 #74A523 #23A595
split-complementary
#5423A5 #A59523 #33A523
monochromatic
#210E40 #3A1873 #5423A5 #6F32D3 #9264DE

Accessibility & contrast

On white

9.72
#5423A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5423A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423A5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423A5#FFFFFF#000000##FFFFFF
##5423A51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#3A4864
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5423a5;
/* rgb */ color: rgb(84, 35, 165);
/* oklch */ color: oklch(41.0% 0.190 293.1);
Tailwind
colors: {
  custom: {
    50: '#8d64c1',
    500: '#5423a5',
    950: '#000000',
  },
}
SCSS
$custom: #5423a5;
$custom-light: #8d64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5423a5",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 262.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.19045,
    "h": 293.1
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#5423A5
secondary
#9EC460
accent
#E840A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5423A5

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

Preview Lab → · Contrast checker → · Palette generator →

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