#5937AE#5937AE

#5937AE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.179 H 290.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5937AE
RGBrgb(89, 55, 174)
HSLhsl(257, 52%, 45%)
HSVhsv(257, 68%, 68%)
CMYKcmyk(48.9%, 68.4%, 0%, 31.8%)
CIE-LABlab(33.80, 43.78, -58.41)
CIE-LCHlch(33.80, 73.00, 306.85°)
OKLaboklab(44.84% 0.0625 -0.1674)
OKLCHoklch(44.84% 0.179 290.5)
XYZxyz(13.1238, 7.9117, 40.8718)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5937AE #8CAE37
analogous
#3750AE #5937AE #9537AE
triadic
#5937AE #AE5937 #37AE59
tetradic
#5937AE #AE3750 #8CAE37 #37AE95
square
#5937AE #AE3750 #8CAE37 #37AE95
split-complementary
#5937AE #AE9537 #50AE37
monochromatic
#291A51 #41287F #5937AE #7958CA #9E86D9

Accessibility & contrast

On white

8.13
#5937AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5937AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5937AE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5937AE#FFFFFF#000000##FFFFFF
##5937AE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#3D556E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5937ae;
/* rgb */ color: rgb(89, 55, 174);
/* oklch */ color: oklch(44.8% 0.179 290.5);
Tailwind
colors: {
  custom: {
    50: '#8f70c7',
    500: '#5937ae',
    950: '#000000',
  },
}
SCSS
$custom: #5937ae;
$custom-light: #8f70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5937ae",
  "rgb": {
    "r": 89,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 257.143,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.17872,
    "h": 290.5
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#5937AE
secondary
#AFC37E
accent
#DB4CB3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5937AE

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

Preview Lab → · Contrast checker → · Palette generator →

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