#5422A7#5422A7

#5422A7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.194 H 292.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5422A7
RGBrgb(84, 34, 167)
HSLhsl(263, 66%, 39%)
HSVhsv(263, 80%, 65%)
CMYKcmyk(49.7%, 79.6%, 0%, 34.5%)
CIE-LABlab(28.95, 51.39, -62.17)
CIE-LCHlch(28.95, 80.66, 309.58°)
OKLaboklab(41.09% 0.0749 -0.1785)
OKLCHoklch(41.09% 0.194 292.8)
XYZxyz(11.2013, 5.8185, 37.0846)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422A7 #75A722
analogous
#2233A7 #5422A7 #9622A7
triadic
#5422A7 #A75422 #22A754
tetradic
#5422A7 #A72233 #75A722 #22A796
square
#5422A7 #A72233 #75A722 #22A796
split-complementary
#5422A7 #A79622 #33A722
monochromatic
#210D41 #3A1874 #5422A7 #6F31D5 #9264DF

Accessibility & contrast

On white

9.71
#5422A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5422A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422A7
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422A7#FFFFFF#000000##FFFFFF
##5422A71.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5422a7;
/* rgb */ color: rgb(84, 34, 167);
/* oklch */ color: oklch(41.1% 0.194 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d64c2',
    500: '#5422a7',
    950: '#000000',
  },
}
SCSS
$custom: #5422a7;
$custom-light: #8d64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5422a7",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 262.556,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.19358,
    "h": 292.8
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#5422A7
secondary
#9FC560
accent
#E93FA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5422A7

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

Preview Lab → · Contrast checker → · Palette generator →

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