#5D37C3#5D37C3

#5D37C3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.204 H 288.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5D37C3
RGBrgb(93, 55, 195)
HSLhsl(256, 56%, 49%)
HSVhsv(256, 72%, 76%)
CMYKcmyk(52.3%, 71.8%, 0%, 23.5%)
CIE-LABlab(35.98, 50.44, -67.23)
CIE-LCHlch(35.98, 84.05, 306.88°)
OKLaboklab(47.04% 0.0643 -0.1932)
OKLCHoklch(47.04% 0.204 288.4)
XYZxyz(15.7278, 8.9989, 52.5274)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37C3 #9DC337
analogous
#3757C3 #5D37C3 #A337C3
triadic
#5D37C3 #C35D37 #37C35D
tetradic
#5D37C3 #C33757 #9DC337 #37C3A3
square
#5D37C3 #C33757 #9DC337 #37C3A3
split-complementary
#5D37C3 #C3A337 #57C337
monochromatic
#2F1C64 #462A93 #5D37C3 #8264D3 #A994E1

Accessibility & contrast

On white

7.50
#5D37C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D37C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37C3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37C3#FFFFFF#000000##FFFFFF
##5D37C31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#365C79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d37c3;
/* rgb */ color: rgb(93, 55, 195);
/* oklch */ color: oklch(47.0% 0.204 288.4);
Tailwind
colors: {
  custom: {
    50: '#9571d6',
    500: '#5d37c3',
    950: '#000000',
  },
}
SCSS
$custom: #5d37c3;
$custom-light: #9571d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37c3",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 256.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47039,
    "c": 0.20362,
    "h": 288.4
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#5D37C3
secondary
#BACC8A
accent
#DF49B6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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