#5C41CF#5C41CF

#5C41CF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.4% C 0.207 H 284.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5C41CF
RGBrgb(92, 65, 207)
HSLhsl(251, 60%, 53%)
HSVhsv(251, 69%, 81%)
CMYKcmyk(55.6%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.83, 48.46, -69.56)
CIE-LCHlch(38.83, 84.77, 304.86°)
OKLaboklab(49.36% 0.0522 -0.2001)
OKLCHoklch(49.36% 0.207 284.6)
XYZxyz(17.5630, 10.5599, 60.1322)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41CF #B4CF41
analogous
#416DCF #5C41CF #A341CF
triadic
#5C41CF #CF5C41 #41CF5C
tetradic
#5C41CF #CF416D #B4CF41 #41CFA3
square
#5C41CF #CF416D #B4CF41 #41CFA3
split-complementary
#5C41CF #CFA341 #6DCF41
monochromatic
#2F1E77 #422BA8 #5C41CF #8672DB #B0A3E8

Accessibility & contrast

On white

6.75
#5C41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5C41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C41CF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41CF#FFFFFF#000000##FFFFFF
##5C41CF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#256683
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c41cf;
/* rgb */ color: rgb(92, 65, 207);
/* oklch */ color: oklch(49.4% 0.207 284.6);
Tailwind
colors: {
  custom: {
    50: '#9578df',
    500: '#5c41cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c41cf;
$custom-light: #9578df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41cf",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 251.408,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49363,
    "c": 0.20677,
    "h": 284.6
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#5C41CF
secondary
#C9D497
accent
#E345C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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