#5937D0#5937D0

#5937D0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.219 H 284.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5937D0
RGBrgb(89, 55, 208)
HSLhsl(253, 62%, 52%)
HSVhsv(253, 74%, 82%)
CMYKcmyk(57.2%, 73.6%, 0%, 18.4%)
CIE-LABlab(36.76, 53.56, -73.54)
CIE-LCHlch(36.76, 90.98, 306.07°)
OKLaboklab(47.85% 0.0557 -0.2118)
OKLCHoklch(47.85% 0.219 284.7)
XYZxyz(16.8677, 9.4093, 60.5896)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5937D0 #AED037
analogous
#3762D0 #5937D0 #A537D0
triadic
#5937D0 #D05937 #37D059
tetradic
#5937D0 #D03762 #AED037 #37D0A5
square
#5937D0 #D03762 #AED037 #37D0A5
split-complementary
#5937D0 #D0A537 #62D037
monochromatic
#2E1B72 #4226A3 #5937D0 #8269DC #AB9AE7

Accessibility & contrast

On white

7.29
#5937D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5937D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5937D0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5937D0#FFFFFF#000000##FFFFFF
##5937D01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#196181
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5937d0;
/* rgb */ color: rgb(89, 55, 208);
/* oklch */ color: oklch(47.9% 0.219 284.7);
Tailwind
colors: {
  custom: {
    50: '#9572e0',
    500: '#5937d0',
    950: '#000000',
  },
}
SCSS
$custom: #5937d0;
$custom-light: #9572e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5937d0",
  "rgb": {
    "r": 89,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 253.333,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.21898,
    "h": 284.7
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#5937D0
secondary
#C4D390
accent
#E543C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5937D0

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

Preview Lab → · Contrast checker → · Palette generator →

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