#5423A7#5423A7

#5423A7 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.193 H 292.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5423A7
RGBrgb(84, 35, 167)
HSLhsl(262, 65%, 40%)
HSVhsv(262, 79%, 65%)
CMYKcmyk(49.7%, 79%, 0%, 34.5%)
CIE-LABlab(29.10, 50.96, -61.93)
CIE-LCHlch(29.10, 80.20, 309.45°)
OKLaboklab(41.2% 0.0741 -0.1778)
OKLCHoklch(41.2% 0.193 292.6)
XYZxyz(11.2303, 5.8765, 37.0943)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5423A7 #76A723
analogous
#2334A7 #5423A7 #9623A7
triadic
#5423A7 #A75423 #23A754
tetradic
#5423A7 #A72334 #76A723 #23A796
square
#5423A7 #A72334 #76A723 #23A796
split-complementary
#5423A7 #A79623 #34A723
monochromatic
#210E42 #3B1874 #5423A7 #6F33D4 #9366DF

Accessibility & contrast

On white

9.65
#5423A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5423A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5423A7
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5423A7#FFFFFF#000000##FFFFFF
##5423A71.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#394965
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5423a7;
/* rgb */ color: rgb(84, 35, 167);
/* oklch */ color: oklch(41.2% 0.193 292.6);
Tailwind
colors: {
  custom: {
    50: '#8d64c2',
    500: '#5423a7',
    950: '#000000',
  },
}
SCSS
$custom: #5423a7;
$custom-light: #8d64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5423a7",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 262.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.19265,
    "h": 292.6
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#5423A7
secondary
#A0C461
accent
#E83FAA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5423A7

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

Preview Lab → · Contrast checker → · Palette generator →

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