#5937BE#5937BE

#5937BE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.198 H 287.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5937BE
RGBrgb(89, 55, 190)
HSLhsl(255, 55%, 48%)
HSVhsv(255, 71%, 75%)
CMYKcmyk(53.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(35.15, 48.39, -65.68)
CIE-LCHlch(35.15, 81.58, 306.38°)
OKLaboklab(46.22% 0.0596 -0.1888)
OKLCHoklch(46.22% 0.198 287.5)
XYZxyz(14.7775, 8.5732, 49.5813)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5937BE #9CBE37
analogous
#3758BE #5937BE #9C37BE
triadic
#5937BE #BE5937 #37BE59
tetradic
#5937BE #BE3758 #9CBE37 #37BE9C
square
#5937BE #BE3758 #9CBE37 #37BE9C
split-complementary
#5937BE #BE9C37 #58BE37
monochromatic
#2D1C5F #43298F #5937BE #7D61D1 #A490DF

Accessibility & contrast

On white

7.74
#5937BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5937BE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5937BE#FFFFFF#000000##FFFFFF
##5937BE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#315B77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5937be;
/* rgb */ color: rgb(89, 55, 190);
/* oklch */ color: oklch(46.2% 0.198 287.5);
Tailwind
colors: {
  custom: {
    50: '#9271d3',
    500: '#5937be',
    950: '#000000',
  },
}
SCSS
$custom: #5937be;
$custom-light: #9271d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5937be",
  "rgb": {
    "r": 89,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 255.111,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.19795,
    "h": 287.5
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#5937BE
secondary
#B9CA87
accent
#DE49B9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5937BE

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

Preview Lab → · Contrast checker → · Palette generator →

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