#5D37C5#5D37C5

#5D37C5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.206 H 288.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D37C5
RGBrgb(93, 55, 197)
HSLhsl(256, 56%, 49%)
HSVhsv(256, 72%, 77%)
CMYKcmyk(52.8%, 72.1%, 0%, 22.7%)
CIE-LABlab(36.16, 51.01, -68.12)
CIE-LCHlch(36.16, 85.10, 306.83°)
OKLaboklab(47.22% 0.0639 -0.1958)
OKLCHoklch(47.22% 0.206 288.1)
XYZxyz(15.9555, 9.0900, 53.7263)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37C5 #9FC537
analogous
#3758C5 #5D37C5 #A437C5
triadic
#5D37C5 #C55D37 #37C55D
tetradic
#5D37C5 #C53758 #9FC537 #37C5A4
square
#5D37C5 #C53758 #9FC537 #37C5A4
split-complementary
#5D37C5 #C5A437 #58C537
monochromatic
#301C65 #462A95 #5D37C5 #8365D4 #A995E1

Accessibility & contrast

On white

7.45
#5D37C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D37C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37C5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37C5#FFFFFF#000000##FFFFFF
##5D37C51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#345D7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d37c5;
/* rgb */ color: rgb(93, 55, 197);
/* oklch */ color: oklch(47.2% 0.206 288.1);
Tailwind
colors: {
  custom: {
    50: '#9571d8',
    500: '#5d37c5',
    950: '#000000',
  },
}
SCSS
$custom: #5d37c5;
$custom-light: #9571d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37c5",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 256.056,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.20594,
    "h": 288.1
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#5D37C5
secondary
#BBCD8B
accent
#E048B7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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