#5C1059#5C1059

#5C1059 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 329.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5C1059
RGBrgb(92, 16, 89)
HSLhsl(302, 70%, 21%)
HSVhsv(302, 83%, 36%)
CMYKcmyk(0%, 82.6%, 3.3%, 63.9%)
CIE-LABlab(21.46, 41.97, -24.93)
CIE-LCHlch(21.46, 48.82, 329.29°)
OKLaboklab(34.12% 0.1187 -0.0689)
OKLCHoklch(34.12% 0.137 329.9)
XYZxyz(6.4021, 3.3677, 9.7621)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1059 #105C13
analogous
#39105C #5C1059 #5C1033
triadic
#5C1059 #595C10 #10595C
tetradic
#5C1059 #5C3910 #105C13 #10335C
square
#5C1059 #5C3910 #105C13 #10335C
split-complementary
#5C1059 #335C10 #105C39
monochromatic
#1A0519 #280727 #5C1059 #90198B #C422BE

Accessibility & contrast

On white

12.55
#5C1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1059
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1059#FFFFFF#000000##FFFFFF
##5C10591.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042D5B
Deuteranopia (green-blind)
#283757
Tritanopia (blue-blind)
#601B34
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1059;
/* rgb */ color: rgb(92, 16, 89);
/* oklch */ color: oklch(34.1% 0.137 329.9);
Tailwind
colors: {
  custom: {
    50: '#8d5988',
    500: '#5c1059',
    950: '#000000',
  },
}
SCSS
$custom: #5c1059;
$custom-light: #8d5988;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1059",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 302.368,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34116,
    "c": 0.13727,
    "h": 329.9
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#5C1059
secondary
#339537
accent
#ED423B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1059

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

Preview Lab → · Contrast checker → · Palette generator →

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