#5D37CD#5D37CD

#5D37CD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.215 H 286.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5D37CD
RGBrgb(93, 55, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 73%, 80%)
CMYKcmyk(54.6%, 73.2%, 0%, 19.6%)
CIE-LABlab(36.87, 53.26, -71.61)
CIE-LCHlch(36.87, 89.25, 306.64°)
OKLaboklab(47.94% 0.0621 -0.206)
OKLCHoklch(47.94% 0.215 286.8)
XYZxyz(16.8965, 9.4664, 58.6826)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37CD #A7CD37
analogous
#375CCD #5D37CD #A837CD
triadic
#5D37CD #CD5D37 #37CD5D
tetradic
#5D37CD #CD375C #A7CD37 #37CDA8
square
#5D37CD #CD375C #A7CD37 #37CDA8
split-complementary
#5D37CD #CDA837 #5CCD37
monochromatic
#301C6E #46289F #5D37CD #8568D9 #AC99E5

Accessibility & contrast

On white

7.26
#5D37CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D37CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37CD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37CD#FFFFFF#000000##FFFFFF
##5D37CD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2C607F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d37cd;
/* rgb */ color: rgb(93, 55, 205);
/* oklch */ color: oklch(47.9% 0.215 286.8);
Tailwind
colors: {
  custom: {
    50: '#9672dd',
    500: '#5d37cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d37cd;
$custom-light: #9672dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37cd",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 255.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.21517,
    "h": 286.8
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#5D37CD
secondary
#C0D18F
accent
#E345BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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