#5D37CE#5D37CE

#5D37CE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.216 H 286.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5D37CE
RGBrgb(93, 55, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 73%, 81%)
CMYKcmyk(54.9%, 73.3%, 0%, 19.2%)
CIE-LABlab(36.96, 53.55, -72.04)
CIE-LCHlch(36.96, 89.76, 306.62°)
OKLaboklab(48.03% 0.0618 -0.2073)
OKLCHoklch(48.03% 0.216 286.6)
XYZxyz(17.0176, 9.5148, 59.3204)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37CE #A8CE37
analogous
#375CCE #5D37CE #A837CE
triadic
#5D37CE #CE5D37 #37CE5D
tetradic
#5D37CE #CE375C #A8CE37 #37CEA8
square
#5D37CE #CE375C #A8CE37 #37CEA8
split-complementary
#5D37CE #CEA837 #5CCE37
monochromatic
#301B6F #4627A0 #5D37CE #8568DA #AD99E6

Accessibility & contrast

On white

7.23
#5D37CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5D37CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37CE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37CE#FFFFFF#000000##FFFFFF
##5D37CE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#2B6080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d37ce;
/* rgb */ color: rgb(93, 55, 206);
/* oklch */ color: oklch(48.0% 0.216 286.6);
Tailwind
colors: {
  custom: {
    50: '#9672de',
    500: '#5d37ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d37ce;
$custom-light: #9672de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37ce",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 255.099,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.21632,
    "h": 286.6
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#5D37CE
secondary
#C1D28F
accent
#E444BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D37CE

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

Preview Lab → · Contrast checker → · Palette generator →

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