#5C41CA#5C41CA

#5C41CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 48.9% C 0.201 H 285.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5C41CA
RGBrgb(92, 65, 202)
HSLhsl(252, 56%, 52%)
HSVhsv(252, 68%, 79%)
CMYKcmyk(54.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(38.41, 46.98, -67.35)
CIE-LCHlch(38.41, 82.11, 304.90°)
OKLaboklab(48.93% 0.053 -0.1936)
OKLCHoklch(48.93% 0.201 285.3)
XYZxyz(16.9614, 10.3192, 56.9637)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41CA #AFCA41
analogous
#416ACA #5C41CA #A141CA
triadic
#5C41CA #CA5C41 #41CA5C
tetradic
#5C41CA #CA416A #AFCA41 #41CAA1
square
#5C41CA #CA416A #AFCA41 #41CAA1
split-complementary
#5C41CA #CAA141 #6ACA41
monochromatic
#302071 #442DA1 #5C41CA #8571D7 #AEA1E5

Accessibility & contrast

On white

6.85
#5C41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5C41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C41CA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41CA#FFFFFF#000000##FFFFFF
##5C41CA1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#2C6480
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c41ca;
/* rgb */ color: rgb(92, 65, 202);
/* oklch */ color: oklch(48.9% 0.201 285.3);
Tailwind
colors: {
  custom: {
    50: '#9578db',
    500: '#5c41ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c41ca;
$custom-light: #9578db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41ca",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 251.825,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.2007,
    "h": 285.3
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#5C41CA
secondary
#C5D196
accent
#E048C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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