#5C4192#5C4192

#5C4192 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.6% C 0.129 H 296.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5C4192
RGBrgb(92, 65, 146)
HSLhsl(260, 38%, 41%)
HSVhsv(260, 55%, 57%)
CMYKcmyk(37%, 55.5%, 0%, 42.7%)
CIE-LABlab(34.25, 30.62, -40.77)
CIE-LCHlch(34.25, 50.99, 306.91°)
OKLaboklab(44.6% 0.0567 -0.1155)
OKLCHoklch(44.6% 0.129 296.2)
XYZxyz(11.4909, 8.1310, 28.1526)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4192 #779241
analogous
#414F92 #5C4192 #854192
triadic
#5C4192 #925C41 #41925C
tetradic
#5C4192 #92414F #779241 #419285
square
#5C4192 #92414F #779241 #419285
split-complementary
#5C4192 #928541 #4F9241
monochromatic
#271B3D #412E68 #5C4192 #795AB6 #9B85C9

Accessibility & contrast

On white

8.00
#5C4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5C4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4192
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4192#FFFFFF#000000##FFFFFF
##5C41921.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#264F90
Tritanopia (blue-blind)
#4F5163
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c4192;
/* rgb */ color: rgb(92, 65, 146);
/* oklch */ color: oklch(44.6% 0.129 296.2);
Tailwind
colors: {
  custom: {
    50: '#8d76b2',
    500: '#5c4192',
    950: '#000000',
  },
}
SCSS
$custom: #5c4192;
$custom-light: #8d76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4192",
  "rgb": {
    "r": 92,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 260,
    "s": 38.389,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.12866,
    "h": 296.2
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#5C4192
secondary
#A1B37C
accent
#CE59A7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #5C4192

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

Preview Lab → · Contrast checker → · Palette generator →

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