#5C41C8#5C41C8

#5C41C8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.198 H 285.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5C41C8
RGBrgb(92, 65, 200)
HSLhsl(252, 55%, 52%)
HSVhsv(252, 68%, 78%)
CMYKcmyk(54%, 67.5%, 0%, 21.6%)
CIE-LABlab(38.24, 46.38, -66.45)
CIE-LCHlch(38.24, 81.04, 304.91°)
OKLaboklab(48.76% 0.0533 -0.191)
OKLCHoklch(48.76% 0.198 285.6)
XYZxyz(16.7261, 10.2251, 55.7247)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C41C8 #ADC841
analogous
#416AC8 #5C41C8 #A041C8
triadic
#5C41C8 #C85C41 #41C85C
tetradic
#5C41C8 #C8416A #ADC841 #41C8A0
square
#5C41C8 #C8416A #ADC841 #41C8A0
split-complementary
#5C41C8 #C8A041 #6AC841
monochromatic
#30206F #442E9E #5C41C8 #8570D6 #ADA0E3

Accessibility & contrast

On white

6.90
#5C41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5C41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C41C8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C41C8#FFFFFF#000000##FFFFFF
##5C41C81.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#2E637F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c41c8;
/* rgb */ color: rgb(92, 65, 200);
/* oklch */ color: oklch(48.8% 0.198 285.6);
Tailwind
colors: {
  custom: {
    50: '#9478da',
    500: '#5c41c8',
    950: '#000000',
  },
}
SCSS
$custom: #5c41c8;
$custom-light: #9478da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c41c8",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 252,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.19827,
    "h": 285.6
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#5C41C8
secondary
#C4D095
accent
#DE49C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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