#5422BD#5422BD

#5422BD is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.217 H 288.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5422BD
RGBrgb(84, 34, 189)
HSLhsl(259, 70%, 44%)
HSVhsv(259, 82%, 74%)
CMYKcmyk(55.6%, 82%, 0%, 25.9%)
CIE-LABlab(31.12, 57.20, -71.73)
CIE-LCHlch(31.12, 91.75, 308.57°)
OKLaboklab(43.25% 0.0675 -0.2065)
OKLCHoklch(43.25% 0.217 288.1)
XYZxyz(13.4108, 6.7023, 48.7213)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5422BD #8BBD22
analogous
#223DBD #5422BD #A122BD
triadic
#5422BD #BD5422 #22BD54
tetradic
#5422BD #BD223D #8BBD22 #22BDA1
square
#5422BD #BD223D #8BBD22 #22BDA1
split-complementary
#5422BD #BDA122 #3DBD22
monochromatic
#260F55 #3D1989 #5422BD #7240DD #9873E6

Accessibility & contrast

On white

8.97
#5422BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5422BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5422BD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5422BD#FFFFFF#000000##FFFFFF
##5422BD1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#265171
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5422bd;
/* rgb */ color: rgb(84, 34, 189);
/* oklch */ color: oklch(43.2% 0.217 288.1);
Tailwind
colors: {
  custom: {
    50: '#9065d2',
    500: '#5422bd',
    950: '#000000',
  },
}
SCSS
$custom: #5422bd;
$custom-light: #9065d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5422bd",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 259.355,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.21723,
    "h": 288.1
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#5422BD
secondary
#AECD6E
accent
#EC3BB3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5422BD

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

Preview Lab → · Contrast checker → · Palette generator →

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