#5D37D0#5D37D0

#5D37D0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.219 H 286.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5D37D0
RGBrgb(93, 55, 208)
HSLhsl(255, 62%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(55.3%, 73.6%, 0%, 18.4%)
CIE-LABlab(37.14, 54.11, -72.90)
CIE-LCHlch(37.14, 90.79, 306.58°)
OKLaboklab(48.21% 0.0614 -0.2098)
OKLCHoklch(48.21% 0.219 286.3)
XYZxyz(17.2621, 9.6126, 60.6081)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37D0 #AAD037
analogous
#375ED0 #5D37D0 #AA37D0
triadic
#5D37D0 #D05D37 #37D05D
tetradic
#5D37D0 #D0375E #AAD037 #37D0AA
square
#5D37D0 #D0375E #AAD037 #37D0AA
split-complementary
#5D37D0 #D0AA37 #5ED037
monochromatic
#301B72 #4526A3 #5D37D0 #8569DC #AD9AE7

Accessibility & contrast

On white

7.18
#5D37D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5D37D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37D0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37D0#FFFFFF#000000##FFFFFF
##5D37D01.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#296181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d37d0;
/* rgb */ color: rgb(93, 55, 208);
/* oklch */ color: oklch(48.2% 0.219 286.3);
Tailwind
colors: {
  custom: {
    50: '#9772e0',
    500: '#5d37d0',
    950: '#000000',
  },
}
SCSS
$custom: #5d37d0;
$custom-light: #9772e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37d0",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 254.902,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.2186,
    "h": 286.3
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#5D37D0
secondary
#C2D390
accent
#E543BD
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D37D0

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

Preview Lab → · Contrast checker → · Palette generator →

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