#5944A2#5944A2

#5944A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.0% C 0.146 H 289.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5944A2
RGBrgb(89, 68, 162)
HSLhsl(253, 41%, 45%)
HSVhsv(253, 58%, 64%)
CMYKcmyk(45.1%, 58%, 0%, 36.5%)
CIE-LABlab(35.73, 32.71, -48.10)
CIE-LCHlch(35.73, 58.17, 304.21°)
OKLaboklab(45.95% 0.0491 -0.1371)
OKLCHoklch(45.95% 0.146 289.7)
XYZxyz(12.7067, 8.8663, 35.2173)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944A2 #8DA244
analogous
#445EA2 #5944A2 #8844A2
triadic
#5944A2 #A25944 #44A259
tetradic
#5944A2 #A2445E #8DA244 #44A288
square
#5944A2 #A2445E #8DA244 #44A288
split-complementary
#5944A2 #A28844 #5EA244
monochromatic
#2A204C #413277 #5944A2 #7965BE #9E90D0

Accessibility & contrast

On white

7.57
#5944A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5944A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5944A2#FFFFFF#000000##FFFFFF
##5944A21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#43596C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5944a2;
/* rgb */ color: rgb(89, 68, 162);
/* oklch */ color: oklch(46.0% 0.146 289.7);
Tailwind
colors: {
  custom: {
    50: '#8d78be',
    500: '#5944a2',
    950: '#000000',
  },
}
SCSS
$custom: #5944a2;
$custom-light: #8d78be;
$custom-dark: #000000;
JSON
{
  "hex": "#5944a2",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 253.404,
    "s": 40.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.14567,
    "h": 289.7
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#5944A2
secondary
#B0BC86
accent
#D157B6
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5944A2

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

Preview Lab → · Contrast checker → · Palette generator →

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