#5944AA#5944AA

#5944AA is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.5% C 0.156 H 288.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5944AA
RGBrgb(89, 68, 170)
HSLhsl(252, 43%, 47%)
HSVhsv(252, 60%, 67%)
CMYKcmyk(47.6%, 60%, 0%, 33.3%)
CIE-LABlab(36.29, 35.10, -51.98)
CIE-LCHlch(36.29, 62.72, 304.03°)
OKLaboklab(46.55% 0.049 -0.1485)
OKLCHoklch(46.55% 0.156 288.3)
XYZxyz(13.4406, 9.1598, 39.0823)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944AA #95AA44
analogous
#4462AA #5944AA #8C44AA
triadic
#5944AA #AA5944 #44AA59
tetradic
#5944AA #AA4462 #95AA44 #44AA8C
square
#5944AA #AA4462 #95AA44 #44AA8C
split-complementary
#5944AA #AA8C44 #62AA44
monochromatic
#2B2153 #42337E #5944AA #7B68C3 #A194D4

Accessibility & contrast

On white

7.42
#5944AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5944AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5944AA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944AA#FFFFFF#000000##FFFFFF
##5944AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#3F5B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5944aa;
/* rgb */ color: rgb(89, 68, 170);
/* oklch */ color: oklch(46.5% 0.156 288.3);
Tailwind
colors: {
  custom: {
    50: '#8e79c4',
    500: '#5944aa',
    950: '#000000',
  },
}
SCSS
$custom: #5944aa;
$custom-light: #8e79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5944aa",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 252.353,
    "s": 42.857,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.1564,
    "h": 288.3
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#5944AA
secondary
#B5C08A
accent
#D355B9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5944AA

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

Preview Lab → · Contrast checker → · Palette generator →

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