#5C2575#5C2575

#5C2575 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.137 H 313.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#5C2575
RGBrgb(92, 37, 117)
HSLhsl(281, 52%, 30%)
HSVhsv(281, 68%, 46%)
CMYKcmyk(21.4%, 68.4%, 0%, 54.1%)
CIE-LABlab(26.40, 38.95, -35.29)
CIE-LCHlch(26.40, 52.56, 317.82°)
OKLaboklab(38.24% 0.0941 -0.0993)
OKLCHoklch(38.24% 0.137 313.5)
XYZxyz(8.2855, 4.8830, 17.3322)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2575 #3E7525
analogous
#342575 #5C2575 #752566
triadic
#5C2575 #755C25 #25755C
tetradic
#5C2575 #753425 #3E7525 #256675
square
#5C2575 #753425 #3E7525 #256675
split-complementary
#5C2575 #667525 #257534
monochromatic
#130818 #371647 #5C2575 #8134A3 #A14EC7

Accessibility & contrast

On white

10.62
#5C2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5C2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2575
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2575#FFFFFF#000000##FFFFFF
##5C25751.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#204073
Tritanopia (blue-blind)
#5A3549
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c2575;
/* rgb */ color: rgb(92, 37, 117);
/* oklch */ color: oklch(38.2% 0.137 313.5);
Tailwind
colors: {
  custom: {
    50: '#8d649d',
    500: '#5c2575',
    950: '#000000',
  },
}
SCSS
$custom: #5c2575;
$custom-light: #8d649d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2575",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 281.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38244,
    "c": 0.13682,
    "h": 313.5
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#5C2575
secondary
#6AA84E
accent
#DB4C79
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2575

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

Preview Lab → · Contrast checker → · Palette generator →

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