#5C37CD#5C37CD

#5C37CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.215 H 286.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5C37CD
RGBrgb(92, 55, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 73%, 80%)
CMYKcmyk(55.1%, 73.2%, 0%, 19.6%)
CIE-LABlab(36.77, 53.12, -71.77)
CIE-LCHlch(36.77, 89.29, 306.51°)
OKLaboklab(47.85% 0.0606 -0.2065)
OKLCHoklch(47.85% 0.215 286.4)
XYZxyz(16.7960, 9.4145, 58.6779)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C37CD #A8CD37
analogous
#375DCD #5C37CD #A737CD
triadic
#5C37CD #CD5C37 #37CD5C
tetradic
#5C37CD #CD375D #A8CD37 #37CDA7
square
#5C37CD #CD375D #A8CD37 #37CDA7
split-complementary
#5C37CD #CDA737 #5DCD37
monochromatic
#301C6E #45289F #5C37CD #8468D9 #AC99E5

Accessibility & contrast

On white

7.28
#5C37CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5C37CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C37CD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C37CD#FFFFFF#000000##FFFFFF
##5C37CD1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#29607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c37cd;
/* rgb */ color: rgb(92, 55, 205);
/* oklch */ color: oklch(47.8% 0.215 286.4);
Tailwind
colors: {
  custom: {
    50: '#9672dd',
    500: '#5c37cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c37cd;
$custom-light: #9672dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c37cd",
  "rgb": {
    "r": 92,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 254.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.21525,
    "h": 286.4
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#5C37CD
secondary
#C1D18F
accent
#E345BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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