#5944AF#5944AF

#5944AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.9% C 0.163 H 287.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5944AF
RGBrgb(89, 68, 175)
HSLhsl(252, 44%, 48%)
HSVhsv(252, 61%, 69%)
CMYKcmyk(49.1%, 61.1%, 0%, 31.4%)
CIE-LABlab(36.65, 36.61, -54.37)
CIE-LCHlch(36.65, 65.54, 303.96°)
OKLaboklab(46.93% 0.0488 -0.1555)
OKLCHoklch(46.93% 0.163 287.4)
XYZxyz(13.9226, 9.3526, 41.6208)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944AF #9AAF44
analogous
#4464AF #5944AF #8F44AF
triadic
#5944AF #AF5944 #44AF59
tetradic
#5944AF #AF4464 #9AAF44 #44AF8F
square
#5944AF #AF4464 #9AAF44 #44AF8F
split-complementary
#5944AF #AF8F44 #64AF44
monochromatic
#2C2257 #433383 #5944AF #7D6BC5 #A397D7

Accessibility & contrast

On white

7.32
#5944AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5944AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5944AF#FFFFFF#000000##FFFFFF
##5944AF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#3B5D73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5944af;
/* rgb */ color: rgb(89, 68, 175);
/* oklch */ color: oklch(46.9% 0.163 287.4);
Tailwind
colors: {
  custom: {
    50: '#8f79c8',
    500: '#5944af',
    950: '#000000',
  },
}
SCSS
$custom: #5944af;
$custom-light: #8f79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5944af",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 175
  },
  "hsl": {
    "h": 251.776,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.16301,
    "h": 287.4
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#5944AF
secondary
#B8C28C
accent
#D454BB
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5944AF

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

Preview Lab → · Contrast checker → · Palette generator →

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