#5D37C0#5D37C0

#5D37C0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.200 H 288.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5D37C0
RGBrgb(93, 55, 192)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 75%)
CMYKcmyk(51.6%, 71.4%, 0%, 24.7%)
CIE-LABlab(35.72, 49.59, -65.90)
CIE-LCHlch(35.72, 82.48, 306.96°)
OKLaboklab(46.78% 0.0649 -0.1893)
OKLCHoklch(46.78% 0.2 288.9)
XYZxyz(15.3920, 8.8646, 50.7590)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37C0 #9AC037
analogous
#3755C0 #5D37C0 #A137C0
triadic
#5D37C0 #C05D37 #37C05D
tetradic
#5D37C0 #C03755 #9AC037 #37C0A1
square
#5D37C0 #C03755 #9AC037 #37C0A1
split-complementary
#5D37C0 #C0A137 #55C037
monochromatic
#2F1C61 #462990 #5D37C0 #8162D2 #A792E0

Accessibility & contrast

On white

7.57
#5D37C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D37C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37C0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37C0#FFFFFF#000000##FFFFFF
##5D37C01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#395B78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d37c0;
/* rgb */ color: rgb(93, 55, 192);
/* oklch */ color: oklch(46.8% 0.200 288.9);
Tailwind
colors: {
  custom: {
    50: '#9471d4',
    500: '#5d37c0',
    950: '#000000',
  },
}
SCSS
$custom: #5d37c0;
$custom-light: #9471d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37c0",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 256.642,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.20011,
    "h": 288.9
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#5D37C0
secondary
#B8CB88
accent
#DF49B5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D37C0

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

Preview Lab → · Contrast checker → · Palette generator →

#5D37C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva