#5939AE#5939AE

#5939AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.176 H 290.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5939AE
RGBrgb(89, 57, 174)
HSLhsl(256, 51%, 45%)
HSVhsv(256, 67%, 68%)
CMYKcmyk(48.9%, 67.2%, 0%, 31.8%)
CIE-LABlab(34.20, 42.68, -57.76)
CIE-LCHlch(34.20, 71.81, 306.46°)
OKLaboklab(45.13% 0.0605 -0.1655)
OKLCHoklch(45.13% 0.176 290.1)
XYZxyz(13.2208, 8.1056, 40.9041)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5939AE #8EAE39
analogous
#3954AE #5939AE #9339AE
triadic
#5939AE #AE5939 #39AE59
tetradic
#5939AE #AE3954 #8EAE39 #39AE93
square
#5939AE #AE3954 #8EAE39 #39AE93
split-complementary
#5939AE #AE9339 #54AE39
monochromatic
#2A1B52 #412A80 #5939AE #795BC9 #9F89D8

Accessibility & contrast

On white

8.01
#5939AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5939AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5939AE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5939AE#FFFFFF#000000##FFFFFF
##5939AE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#3D566E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5939ae;
/* rgb */ color: rgb(89, 57, 174);
/* oklch */ color: oklch(45.1% 0.176 290.1);
Tailwind
colors: {
  custom: {
    50: '#8f72c7',
    500: '#5939ae',
    950: '#000000',
  },
}
SCSS
$custom: #5939ae;
$custom-light: #8f72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5939ae",
  "rgb": {
    "r": 89,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 256.41,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45127,
    "c": 0.17622,
    "h": 290.1
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#5939AE
secondary
#B0C380
accent
#DA4EB4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5939AE

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

Preview Lab → · Contrast checker → · Palette generator →

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