#5937BD#5937BD

#5937BD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.197 H 287.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5937BD
RGBrgb(89, 55, 189)
HSLhsl(255, 55%, 48%)
HSVhsv(255, 71%, 74%)
CMYKcmyk(52.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(35.06, 48.10, -65.23)
CIE-LCHlch(35.06, 81.05, 306.40°)
OKLaboklab(46.13% 0.0598 -0.1875)
OKLCHoklch(46.13% 0.197 287.7)
XYZxyz(14.6686, 8.5296, 49.0077)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5937BD #9BBD37
analogous
#3758BD #5937BD #9C37BD
triadic
#5937BD #BD5937 #37BD59
tetradic
#5937BD #BD3758 #9BBD37 #37BD9C
square
#5937BD #BD3758 #9BBD37 #37BD9C
split-complementary
#5937BD #BD9C37 #58BD37
monochromatic
#2C1B5E #43298E #5937BD #7D60D1 #A490DF

Accessibility & contrast

On white

7.76
#5937BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5937BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5937BD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5937BD#FFFFFF#000000##FFFFFF
##5937BD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#325A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5937bd;
/* rgb */ color: rgb(89, 55, 189);
/* oklch */ color: oklch(46.1% 0.197 287.7);
Tailwind
colors: {
  custom: {
    50: '#9271d2',
    500: '#5937bd',
    950: '#000000',
  },
}
SCSS
$custom: #5937bd;
$custom-light: #9271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5937bd",
  "rgb": {
    "r": 89,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 255.224,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.19677,
    "h": 287.7
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#5937BD
secondary
#B8C986
accent
#DE4AB9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5937BD

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

Preview Lab → · Contrast checker → · Palette generator →

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