#5C41CE#5C41CE

#5C41CE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.3% C 0.206 H 284.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5C41CE
RGBrgb(92, 65, 206)
HSLhsl(251, 59%, 53%)
HSVhsv(251, 68%, 81%)
CMYKcmyk(55.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.74, 48.16, -69.12)
CIE-LCHlch(38.74, 84.24, 304.87°)
OKLaboklab(49.28% 0.0523 -0.1988)
OKLCHoklch(49.28% 0.206 284.7)
XYZxyz(17.4411, 10.5111, 59.4904)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41CE #B3CE41
analogous
#416CCE #5C41CE #A241CE
triadic
#5C41CE #CE5C41 #41CE5C
tetradic
#5C41CE #CE416C #B3CE41 #41CEA2
square
#5C41CE #CE416C #B3CE41 #41CEA2
split-complementary
#5C41CE #CEA241 #6CCE41
monochromatic
#2F1E76 #432BA7 #5C41CE #8672DB #AFA2E7

Accessibility & contrast

On white

6.77
#5C41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5C41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C41CE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41CE#FFFFFF#000000##FFFFFF
##5C41CE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#276682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c41ce;
/* rgb */ color: rgb(92, 65, 206);
/* oklch */ color: oklch(49.3% 0.206 284.7);
Tailwind
colors: {
  custom: {
    50: '#9578de',
    500: '#5c41ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c41ce;
$custom-light: #9578de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41ce",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 251.489,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.20555,
    "h": 284.7
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#5C41CE
secondary
#C8D497
accent
#E246C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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