#5442AA#5442AA

#5442AA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.8% C 0.159 H 286.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5442AA
RGBrgb(84, 66, 170)
HSLhsl(250, 44%, 46%)
HSVhsv(250, 61%, 67%)
CMYKcmyk(50.6%, 61.2%, 0%, 33.3%)
CIE-LABlab(35.37, 35.27, -53.50)
CIE-LCHlch(35.37, 64.08, 303.39°)
OKLaboklab(45.76% 0.0445 -0.1532)
OKLCHoklch(45.76% 0.159 286.2)
XYZxyz(12.8579, 8.6829, 39.0209)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5442AA #98AA42
analogous
#4264AA #5442AA #8842AA
triadic
#5442AA #AA5442 #42AA54
tetradic
#5442AA #AA4264 #98AA42 #42AA88
square
#5442AA #AA4264 #98AA42 #42AA88
split-complementary
#5442AA #AA8842 #64AA42
monochromatic
#282052 #3E317E #5442AA #7666C3 #9D92D5

Accessibility & contrast

On white

7.67
#5442AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5442AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5442AA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5442AA#FFFFFF#000000##FFFFFF
##5442AA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#355A6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5442aa;
/* rgb */ color: rgb(84, 66, 170);
/* oklch */ color: oklch(45.8% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#8b77c4',
    500: '#5442aa',
    950: '#000000',
  },
}
SCSS
$custom: #5442aa;
$custom-light: #8b77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5442aa",
  "rgb": {
    "r": 84,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 250.385,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.15949,
    "h": 286.2
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#5442AA
secondary
#B6C088
accent
#D454BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5442AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5442AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva