#5C41CC#5C41CC

#5C41CC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.1% C 0.203 H 285.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5C41CC
RGBrgb(92, 65, 204)
HSLhsl(252, 58%, 53%)
HSVhsv(252, 68%, 80%)
CMYKcmyk(54.9%, 68.1%, 0%, 20%)
CIE-LABlab(38.58, 47.57, -68.23)
CIE-LCHlch(38.58, 83.18, 304.88°)
OKLaboklab(49.1% 0.0527 -0.1962)
OKLCHoklch(49.1% 0.203 285)
XYZxyz(17.1997, 10.4146, 58.2189)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41CC #B1CC41
analogous
#416BCC #5C41CC #A241CC
triadic
#5C41CC #CC5C41 #41CC5C
tetradic
#5C41CC #CC416B #B1CC41 #41CCA2
square
#5C41CC #CC416B #B1CC41 #41CCA2
split-complementary
#5C41CC #CCA241 #6BCC41
monochromatic
#2F1F74 #432CA4 #5C41CC #8571D9 #AFA1E6

Accessibility & contrast

On white

6.81
#5C41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5C41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C41CC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41CC#FFFFFF#000000##FFFFFF
##5C41CC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#296581
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c41cc;
/* rgb */ color: rgb(92, 65, 204);
/* oklch */ color: oklch(49.1% 0.203 285.0);
Tailwind
colors: {
  custom: {
    50: '#9578dd',
    500: '#5c41cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c41cc;
$custom-light: #9578dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41cc",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 251.655,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.20313,
    "h": 285
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#5C41CC
secondary
#C7D396
accent
#E147C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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