#5941AE#5941AE

#5941AE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.166 H 288.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5941AE
RGBrgb(89, 65, 174)
HSLhsl(253, 46%, 47%)
HSVhsv(253, 63%, 68%)
CMYKcmyk(48.9%, 62.6%, 0%, 31.8%)
CIE-LABlab(35.91, 38.09, -54.98)
CIE-LCHlch(35.91, 66.89, 304.71°)
OKLaboklab(46.36% 0.0521 -0.1574)
OKLCHoklch(46.36% 0.166 288.3)
XYZxyz(13.6479, 8.9599, 41.0465)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5941AE #96AE41
analogous
#4160AE #5941AE #9041AE
triadic
#5941AE #AE5941 #41AE59
tetradic
#5941AE #AE4160 #96AE41 #41AE90
square
#5941AE #AE4160 #96AE41 #41AE90
split-complementary
#5941AE #AE9041 #60AE41
monochromatic
#2B2055 #423081 #5941AE #7B66C6 #A293D7

Accessibility & contrast

On white

7.52
#5941AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5941AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5941AE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5941AE#FFFFFF#000000##FFFFFF
##5941AE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#3C5B71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5941ae;
/* rgb */ color: rgb(89, 65, 174);
/* oklch */ color: oklch(46.4% 0.166 288.3);
Tailwind
colors: {
  custom: {
    50: '#8f77c7',
    500: '#5941ae',
    950: '#000000',
  },
}
SCSS
$custom: #5941ae;
$custom-light: #8f77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5941ae",
  "rgb": {
    "r": 89,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 253.211,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.16577,
    "h": 288.3
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#5941AE
secondary
#B5C289
accent
#D553B8
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5941AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5941AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva