#5C2155#5C2155

#5C2155 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.7% C 0.111 H 332.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5C2155
RGBrgb(92, 33, 85)
HSLhsl(307, 47%, 25%)
HSVhsv(307, 64%, 36%)
CMYKcmyk(0%, 64.1%, 7.6%, 63.9%)
CIE-LABlab(23.74, 34.21, -18.68)
CIE-LCHlch(23.74, 38.98, 331.36°)
OKLaboklab(35.69% 0.0981 -0.051)
OKLCHoklch(35.69% 0.111 332.5)
XYZxyz(6.5972, 4.0194, 9.0209)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2155 #215C28
analogous
#46215C #5C2155 #5C2138
triadic
#5C2155 #555C21 #21555C
tetradic
#5C2155 #5C4621 #215C28 #21385C
square
#5C2155 #5C4621 #215C28 #21385C
split-complementary
#5C2155 #385C21 #215C46
monochromatic
#170815 #2F112B #5C2155 #89317F #B641A8

Accessibility & contrast

On white

11.64
#5C2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2155
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2155#FFFFFF#000000##FFFFFF
##5C21551.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3357
Deuteranopia (green-blind)
#323C53
Tritanopia (blue-blind)
#602637
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c2155;
/* rgb */ color: rgb(92, 33, 85);
/* oklch */ color: oklch(35.7% 0.111 332.5);
Tailwind
colors: {
  custom: {
    50: '#8c6085',
    500: '#5c2155',
    950: '#000000',
  },
}
SCSS
$custom: #5c2155;
$custom-light: #8c6085;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2155",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 307.119,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.11061,
    "h": 332.5
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#5C2155
secondary
#499051
accent
#D76151
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5C2155

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

Preview Lab → · Contrast checker → · Palette generator →

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