#5422A5#5422A5

#5422A5 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.191 H 293.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#5422A5
RGBrgb(84, 34, 165)
HSLhsl(263, 66%, 39%)
HSVhsv(263, 79%, 65%)
CMYKcmyk(49.1%, 79.4%, 0%, 35.3%)
CIE-LABlab(28.76, 50.86, -61.28)
CIE-LCHlch(28.76, 79.63, 309.69°)
OKLaboklab(40.9% 0.0755 -0.1759)
OKLCHoklch(40.9% 0.191 293.2)
XYZxyz(11.0178, 5.7451, 36.1184)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422A5 #73A522
analogous
#2232A5 #5422A5 #9622A5
triadic
#5422A5 #A55422 #22A554
tetradic
#5422A5 #A52232 #73A522 #22A596
square
#5422A5 #A52232 #73A522 #22A596
split-complementary
#5422A5 #A59622 #32A522
monochromatic
#200D40 #3A1872 #5422A5 #6F30D4 #9263DF

Accessibility & contrast

On white

9.77
#5422A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5422A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422A5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422A5#FFFFFF#000000##FFFFFF
##5422A51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#3A4763
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5422a5;
/* rgb */ color: rgb(84, 34, 165);
/* oklch */ color: oklch(40.9% 0.191 293.2);
Tailwind
colors: {
  custom: {
    50: '#8d64c1',
    500: '#5422a5',
    950: '#000000',
  },
}
SCSS
$custom: #5422a5;
$custom-light: #8d64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5422a5",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 262.901,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.19141,
    "h": 293.2
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#5422A5
secondary
#9DC45F
accent
#E93FA8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5422A5

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

Preview Lab → · Contrast checker → · Palette generator →

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