#5936AE#5936AE

#5936AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.180 H 290.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5936AE
RGBrgb(89, 54, 174)
HSLhsl(258, 53%, 45%)
HSVhsv(258, 69%, 68%)
CMYKcmyk(48.9%, 69%, 0%, 31.8%)
CIE-LABlab(33.60, 44.33, -58.74)
CIE-LCHlch(33.60, 73.59, 307.04°)
OKLaboklab(44.7% 0.0634 -0.1684)
OKLCHoklch(44.7% 0.18 290.6)
XYZxyz(13.0768, 7.8177, 40.8561)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5936AE #8BAE36
analogous
#364FAE #5936AE #9536AE
triadic
#5936AE #AE5936 #36AE59
tetradic
#5936AE #AE364F #8BAE36 #36AE95
square
#5936AE #AE364F #8BAE36 #36AE95
split-complementary
#5936AE #AE9536 #4FAE36
monochromatic
#291951 #41287F #5936AE #7856CB #9E85D9

Accessibility & contrast

On white

8.19
#5936AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5936AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5936AE#FFFFFF#000000##FFFFFF
##5936AE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#3D546E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5936ae;
/* rgb */ color: rgb(89, 54, 174);
/* oklch */ color: oklch(44.7% 0.180 290.6);
Tailwind
colors: {
  custom: {
    50: '#9070c7',
    500: '#5936ae',
    950: '#000000',
  },
}
SCSS
$custom: #5936ae;
$custom-light: #9070c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5936ae",
  "rgb": {
    "r": 89,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 257.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.17994,
    "h": 290.6
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#5936AE
secondary
#AEC37D
accent
#DC4CB2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5936AE

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

Preview Lab → · Contrast checker → · Palette generator →

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