#5422AF#5422AF

#5422AF is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.9% C 0.202 H 290.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5422AF
RGBrgb(84, 34, 175)
HSLhsl(261, 67%, 41%)
HSVhsv(261, 81%, 69%)
CMYKcmyk(52%, 80.6%, 0%, 31.4%)
CIE-LABlab(29.72, 53.50, -65.71)
CIE-LCHlch(29.72, 84.74, 309.15°)
OKLaboklab(41.86% 0.0723 -0.1889)
OKLCHoklch(41.86% 0.202 290.9)
XYZxyz(11.9638, 6.1235, 41.1007)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422AF #7DAF22
analogous
#2236AF #5422AF #9A22AF
triadic
#5422AF #AF5422 #22AF54
tetradic
#5422AF #AF2236 #7DAF22 #22AF9A
square
#5422AF #AF2236 #7DAF22 #22AF9A
split-complementary
#5422AF #AF9A22 #36AF22
monochromatic
#230E49 #3B187C #5422AF #7036D8 #9469E2

Accessibility & contrast

On white

9.44
#5422AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5422AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422AF
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422AF#FFFFFF#000000##FFFFFF
##5422AF1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#334B69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5422af;
/* rgb */ color: rgb(84, 34, 175);
/* oklch */ color: oklch(41.9% 0.202 290.9);
Tailwind
colors: {
  custom: {
    50: '#8e64c8',
    500: '#5422af',
    950: '#000000',
  },
}
SCSS
$custom: #5422af;
$custom-light: #8e64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5422af",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 261.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.20223,
    "h": 290.9
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#5422AF
secondary
#A5C865
accent
#EA3DAD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5422AF

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

Preview Lab → · Contrast checker → · Palette generator →

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