#5C155A#5C155A

#5C155A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.132 H 329.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5C155A
RGBrgb(92, 21, 90)
HSLhsl(302, 63%, 22%)
HSVhsv(302, 77%, 36%)
CMYKcmyk(0%, 77.2%, 2.2%, 63.9%)
CIE-LABlab(22.13, 40.42, -24.54)
CIE-LCHlch(22.13, 47.29, 328.74°)
OKLaboklab(34.61% 0.1138 -0.0678)
OKLCHoklch(34.61% 0.132 329.2)
XYZxyz(6.5272, 3.5503, 10.0124)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C155A #155C17
analogous
#3B155C #5C155A #5C1537
triadic
#5C155A #5A5C15 #155A5C
tetradic
#5C155A #5C3B15 #155C17 #15375C
square
#5C155A #5C3B15 #155C17 #15375C
split-complementary
#5C155A #375C15 #155C3B
monochromatic
#190618 #2A0A29 #5C155A #8E208B #C02CBB

Accessibility & contrast

On white

12.28
#5C155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5C155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C155A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C155A#FFFFFF#000000##FFFFFF
##5C155A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#293858
Tritanopia (blue-blind)
#5F1F36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c155a;
/* rgb */ color: rgb(92, 21, 90);
/* oklch */ color: oklch(34.6% 0.132 329.2);
Tailwind
colors: {
  custom: {
    50: '#8d5b89',
    500: '#5c155a',
    950: '#000000',
  },
}
SCSS
$custom: #5c155a;
$custom-light: #8d5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#5c155a",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 301.69,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34611,
    "c": 0.13246,
    "h": 329.2
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#5C155A
secondary
#39933C
accent
#E64742
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5C155A

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

Preview Lab → · Contrast checker → · Palette generator →

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