#5422C4#5422C4

#5422C4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 44.0% C 0.225 H 286.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#5422C4
RGBrgb(84, 34, 196)
HSLhsl(259, 70%, 45%)
HSVhsv(259, 83%, 77%)
CMYKcmyk(57.1%, 82.7%, 0%, 23.1%)
CIE-LABlab(31.84, 59.04, -74.67)
CIE-LCHlch(31.84, 95.19, 308.33°)
OKLaboklab(43.96% 0.0651 -0.215)
OKLCHoklch(43.96% 0.225 286.8)
XYZxyz(14.1890, 7.0136, 52.8199)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422C4 #92C422
analogous
#2241C4 #5422C4 #A522C4
triadic
#5422C4 #C45422 #22C454
tetradic
#5422C4 #C42241 #92C422 #22C4A5
square
#5422C4 #C42241 #92C422 #22C4A5
split-complementary
#5422C4 #C4A522 #41C422
monochromatic
#27105C #3E1990 #5422C4 #7445DF #9B79E8

Accessibility & contrast

On white

8.74
#5422C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5422C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422C4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422C4#FFFFFF#000000##FFFFFF
##5422C41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#1C5475
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5422c4;
/* rgb */ color: rgb(84, 34, 196);
/* oklch */ color: oklch(44.0% 0.225 286.8);
Tailwind
colors: {
  custom: {
    50: '#9166d7',
    500: '#5422c4',
    950: '#000000',
  },
}
SCSS
$custom: #5422c4;
$custom-light: #9166d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5422c4",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 196
  },
  "hsl": {
    "h": 258.519,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.22467,
    "h": 286.8
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#5422C4
secondary
#B3CF73
accent
#ED3BB6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5422C4

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

Preview Lab → · Contrast checker → · Palette generator →

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