#5C2256#5C2256

#5C2256 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.9% C 0.110 H 331.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#5C2256
RGBrgb(92, 34, 86)
HSLhsl(306, 46%, 25%)
HSVhsv(306, 63%, 36%)
CMYKcmyk(0%, 63%, 6.5%, 63.9%)
CIE-LABlab(23.97, 33.89, -18.97)
CIE-LCHlch(23.97, 38.84, 330.76°)
OKLaboklab(35.88% 0.0968 -0.0519)
OKLCHoklch(35.88% 0.11 331.8)
XYZxyz(6.6654, 4.0917, 9.2410)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2256 #225C28
analogous
#45225C #5C2256 #5C2239
triadic
#5C2256 #565C22 #22565C
tetradic
#5C2256 #5C4522 #225C28 #22395C
square
#5C2256 #5C4522 #225C28 #22395C
split-complementary
#5C2256 #395C22 #225C45
monochromatic
#160815 #2F112C #5C2256 #893380 #B543AA

Accessibility & contrast

On white

11.55
#5C2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2256
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2256#FFFFFF#000000##FFFFFF
##5C22561.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203458
Deuteranopia (green-blind)
#323C54
Tritanopia (blue-blind)
#602738
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c2256;
/* rgb */ color: rgb(92, 34, 86);
/* oklch */ color: oklch(35.9% 0.110 331.8);
Tailwind
colors: {
  custom: {
    50: '#8c6186',
    500: '#5c2256',
    950: '#000000',
  },
}
SCSS
$custom: #5c2256;
$custom-light: #8c6186;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2256",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 306.207,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.10985,
    "h": 331.8
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#5C2256
secondary
#4A9051
accent
#D66052
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5C2256

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

Preview Lab → · Contrast checker → · Palette generator →

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