#5D37C4#5D37C4

#5D37C4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.205 H 288.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5D37C4
RGBrgb(93, 55, 196)
HSLhsl(256, 56%, 49%)
HSVhsv(256, 72%, 77%)
CMYKcmyk(52.6%, 71.9%, 0%, 23.1%)
CIE-LABlab(36.07, 50.72, -67.68)
CIE-LCHlch(36.07, 84.57, 306.85°)
OKLaboklab(47.13% 0.0641 -0.1945)
OKLCHoklch(47.13% 0.205 288.2)
XYZxyz(15.8413, 9.0443, 53.1249)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37C4 #9EC437
analogous
#3758C4 #5D37C4 #A437C4
triadic
#5D37C4 #C45D37 #37C45D
tetradic
#5D37C4 #C43758 #9EC437 #37C4A4
square
#5D37C4 #C43758 #9EC437 #37C4A4
split-complementary
#5D37C4 #C4A437 #58C437
monochromatic
#301C64 #462A94 #5D37C4 #8265D4 #A994E1

Accessibility & contrast

On white

7.48
#5D37C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D37C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37C4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37C4#FFFFFF#000000##FFFFFF
##5D37C41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#355D7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d37c4;
/* rgb */ color: rgb(93, 55, 196);
/* oklch */ color: oklch(47.1% 0.205 288.2);
Tailwind
colors: {
  custom: {
    50: '#9571d7',
    500: '#5d37c4',
    950: '#000000',
  },
}
SCSS
$custom: #5d37c4;
$custom-light: #9571d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37c4",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 256.17,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.20477,
    "h": 288.2
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#5D37C4
secondary
#BBCC8B
accent
#DF48B7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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