#5422A0#5422A0

#5422A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.186 H 294.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#5422A0
RGBrgb(84, 34, 160)
HSLhsl(264, 65%, 38%)
HSVhsv(264, 79%, 63%)
CMYKcmyk(47.5%, 78.8%, 0%, 37.3%)
CIE-LABlab(28.29, 49.55, -59.01)
CIE-LCHlch(28.29, 77.05, 310.02°)
OKLaboklab(40.43% 0.077 -0.1693)
OKLCHoklch(40.43% 0.186 294.5)
XYZxyz(10.5716, 5.5666, 33.7684)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422A0 #6EA022
analogous
#222FA0 #5422A0 #9322A0
triadic
#5422A0 #A05422 #22A054
tetradic
#5422A0 #A0222F #6EA022 #22A093
square
#5422A0 #A0222F #6EA022 #22A093
split-complementary
#5422A0 #A09322 #2FA022
monochromatic
#1F0D3B #3A176E #5422A0 #6F2DD2 #915FDD

Accessibility & contrast

On white

9.94
#5422A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5422A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422A0
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422A0#FFFFFF#000000##FFFFFF
##5422A01.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#3D4561
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5422a0;
/* rgb */ color: rgb(84, 34, 160);
/* oklch */ color: oklch(40.4% 0.186 294.5);
Tailwind
colors: {
  custom: {
    50: '#8c63bd',
    500: '#5422a0',
    950: '#000000',
  },
}
SCSS
$custom: #5422a0;
$custom-light: #8c63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5422a0",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 263.81,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.18596,
    "h": 294.5
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#5422A0
secondary
#99C25C
accent
#E840A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5422A0

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

Preview Lab → · Contrast checker → · Palette generator →

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