#5944AB#5944AB

#5944AB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.6% C 0.158 H 288.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5944AB
RGBrgb(89, 68, 171)
HSLhsl(252, 43%, 47%)
HSVhsv(252, 60%, 67%)
CMYKcmyk(48%, 60.2%, 0%, 32.9%)
CIE-LABlab(36.36, 35.41, -52.46)
CIE-LCHlch(36.36, 63.29, 304.02°)
OKLaboklab(46.62% 0.049 -0.1499)
OKLCHoklch(46.62% 0.158 288.1)
XYZxyz(13.5355, 9.1978, 39.5823)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944AB #96AB44
analogous
#4463AB #5944AB #8D44AB
triadic
#5944AB #AB5944 #44AB59
tetradic
#5944AB #AB4463 #96AB44 #44AB8D
square
#5944AB #AB4463 #96AB44 #44AB8D
split-complementary
#5944AB #AB8D44 #63AB44
monochromatic
#2B2153 #42337F #5944AB #7B69C3 #A295D5

Accessibility & contrast

On white

7.40
#5944AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5944AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5944AB#FFFFFF#000000##FFFFFF
##5944AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#3E5C71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5944ab;
/* rgb */ color: rgb(89, 68, 171);
/* oklch */ color: oklch(46.6% 0.158 288.1);
Tailwind
colors: {
  custom: {
    50: '#8e79c5',
    500: '#5944ab',
    950: '#000000',
  },
}
SCSS
$custom: #5944ab;
$custom-light: #8e79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5944ab",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 252.233,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.15773,
    "h": 288.1
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5944AB

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

Preview Lab → · Contrast checker → · Palette generator →

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