#5C37CE#5C37CE

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

Color values

HEX#5C37CE
RGBrgb(92, 55, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 73%, 81%)
CMYKcmyk(55.3%, 73.3%, 0%, 19.2%)
CIE-LABlab(36.86, 53.41, -72.20)
CIE-LCHlch(36.86, 89.81, 306.49°)
OKLaboklab(47.94% 0.0604 -0.2078)
OKLCHoklch(47.94% 0.216 286.2)
XYZxyz(16.9171, 9.4630, 59.3157)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C37CE #A9CE37
analogous
#375DCE #5C37CE #A737CE
triadic
#5C37CE #CE5C37 #37CE5C
tetradic
#5C37CE #CE375D #A9CE37 #37CEA7
square
#5C37CE #CE375D #A9CE37 #37CEA7
split-complementary
#5C37CE #CEA737 #5DCE37
monochromatic
#301B6F #4527A0 #5C37CE #8468DA #AC99E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C37CE#FFFFFF#000000##FFFFFF
##5C37CE1.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)
#005BD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#286180
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c37ce;
/* rgb */ color: rgb(92, 55, 206);
/* oklch */ color: oklch(47.9% 0.216 286.2);
Tailwind
colors: {
  custom: {
    50: '#9672de',
    500: '#5c37ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c37ce;
$custom-light: #9672de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c37ce",
  "rgb": {
    "r": 92,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 254.702,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.21639,
    "h": 286.2
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#5C37CE
secondary
#C1D28F
accent
#E444BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C37CE

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

Preview Lab → · Contrast checker → · Palette generator →

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