#5C405E#5C405E

#5C405E is a dark, moderate purple. Relative luminance 0.068; OKLCH L 41.4% C 0.060 H 324.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#5C405E
RGBrgb(92, 64, 94)
HSLhsl(296, 19%, 31%)
HSVhsv(296, 32%, 37%)
CMYKcmyk(2.1%, 31.9%, 0%, 63.1%)
CIE-LABlab(31.23, 17.95, -12.98)
CIE-LCHlch(31.23, 22.15, 324.13°)
OKLaboklab(41.43% 0.0491 -0.0352)
OKLCHoklch(41.43% 0.06 324.3)
XYZxyz(8.2672, 6.7505, 11.4550)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C405E #425E40
analogous
#4D405E #5C405E #5E4051
triadic
#5C405E #5E5C40 #405E5C
tetradic
#5C405E #5E4D40 #425E40 #40515E
square
#5C405E #5E4D40 #425E40 #40515E
split-complementary
#5C405E #515E40 #405E4D
monochromatic
#150E15 #38273A #5C405E #805982 #9F76A2

Accessibility & contrast

On white

8.94
#5C405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5C405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C405E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C405E#FFFFFF#000000##FFFFFF
##5C405E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#5D434B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c405e;
/* rgb */ color: rgb(92, 64, 94);
/* oklch */ color: oklch(41.4% 0.060 324.3);
Tailwind
colors: {
  custom: {
    50: '#8a758b',
    500: '#5c405e',
    950: '#000000',
  },
}
SCSS
$custom: #5c405e;
$custom-light: #8a758b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c405e",
  "rgb": {
    "r": 92,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 296,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.06038,
    "h": 324.3
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#5C405E
secondary
#6F8D6C
accent
#BC6C71
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5C405E

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

Preview Lab → · Contrast checker → · Palette generator →

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