#5C4262#5C4262

#5C4262 is a dark, moderate purple. Relative luminance 0.071; OKLCH L 42.0% C 0.061 H 319.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5C4262
RGBrgb(92, 66, 98)
HSLhsl(289, 20%, 32%)
HSVhsv(289, 33%, 38%)
CMYKcmyk(6.1%, 32.7%, 0%, 61.6%)
CIE-LABlab(31.93, 17.58, -14.47)
CIE-LCHlch(31.93, 22.77, 320.55°)
OKLaboklab(42.01% 0.0469 -0.0394)
OKLCHoklch(42.01% 0.061 319.9)
XYZxyz(8.5662, 7.0538, 12.4632)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4262 #486242
analogous
#4C4262 #5C4262 #624258
triadic
#5C4262 #625C42 #42625C
tetradic
#5C4262 #624C42 #486242 #425862
square
#5C4262 #624C42 #486242 #425862
split-complementary
#5C4262 #586242 #42624C
monochromatic
#171119 #3A293D #5C4262 #7E5B87 #9D79A5

Accessibility & contrast

On white

8.71
#5C4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5C4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4262
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4262#FFFFFF#000000##FFFFFF
##5C42621.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4963
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#5D454E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5c4262;
/* rgb */ color: rgb(92, 66, 98);
/* oklch */ color: oklch(42.0% 0.061 319.9);
Tailwind
colors: {
  custom: {
    50: '#8a768e',
    500: '#5c4262',
    950: '#000000',
  },
}
SCSS
$custom: #5c4262;
$custom-light: #8a768e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4262",
  "rgb": {
    "r": 92,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 288.75,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.06123,
    "h": 319.9
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#5C4262
secondary
#75916F
accent
#BC6C7B
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0C080C
muted
#7D7B7D

Preview Lab

Preview with #5C4262

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

Preview Lab → · Contrast checker → · Palette generator →

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