#5936AA#5936AA

#5936AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.175 H 291.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5936AA
RGBrgb(89, 54, 170)
HSLhsl(258, 52%, 44%)
HSVhsv(258, 68%, 67%)
CMYKcmyk(47.6%, 68.2%, 0%, 33.3%)
CIE-LABlab(33.27, 43.19, -56.88)
CIE-LCHlch(33.27, 71.42, 307.21°)
OKLaboklab(44.36% 0.0641 -0.1629)
OKLCHoklch(44.36% 0.175 291.5)
XYZxyz(12.6927, 7.6640, 38.8329)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936AA #87AA36
analogous
#364DAA #5936AA #9336AA
triadic
#5936AA #AA5936 #36AA59
tetradic
#5936AA #AA364D #87AA36 #36AA93
square
#5936AA #AA364D #87AA36 #36AA93
split-complementary
#5936AA #AA9336 #4DAA36
monochromatic
#28184D #41277C #5936AA #7854C9 #9C83D8

Accessibility & contrast

On white

8.29
#5936AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5936AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5936AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5936AA#FFFFFF#000000##FFFFFF
##5936AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#40536B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5936aa;
/* rgb */ color: rgb(89, 54, 170);
/* oklch */ color: oklch(44.4% 0.175 291.5);
Tailwind
colors: {
  custom: {
    50: '#8f6fc4',
    500: '#5936aa',
    950: '#000000',
  },
}
SCSS
$custom: #5936aa;
$custom-light: #8f6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5936aa",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 258.103,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.17508,
    "h": 291.5
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#5936AA
secondary
#ACC17B
accent
#DB4DB0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5936AA

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

Preview Lab → · Contrast checker → · Palette generator →

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