#5C1259#5C1259

#5C1259 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.135 H 329.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#5C1259
RGBrgb(92, 18, 89)
HSLhsl(302, 67%, 22%)
HSVhsv(302, 80%, 36%)
CMYKcmyk(0%, 80.4%, 3.3%, 63.9%)
CIE-LABlab(21.69, 41.31, -24.57)
CIE-LCHlch(21.69, 48.07, 329.26°)
OKLaboklab(34.28% 0.1168 -0.0679)
OKLCHoklch(34.28% 0.135 329.8)
XYZxyz(6.4331, 3.4297, 9.7724)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1259 #125C15
analogous
#3A125C #5C1259 #5C1234
triadic
#5C1259 #595C12 #12595C
tetradic
#5C1259 #5C3A12 #125C15 #12345C
square
#5C1259 #5C3A12 #125C15 #12345C
split-complementary
#5C1259 #345C12 #125C3A
monochromatic
#1A0519 #290827 #5C1259 #8F1C8B #C226BC

Accessibility & contrast

On white

12.46
#5C1259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C1259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1259
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1259#FFFFFF#000000##FFFFFF
##5C12591.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5B
Deuteranopia (green-blind)
#293757
Tritanopia (blue-blind)
#601D35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c1259;
/* rgb */ color: rgb(92, 18, 89);
/* oklch */ color: oklch(34.3% 0.135 329.8);
Tailwind
colors: {
  custom: {
    50: '#8d5988',
    500: '#5c1259',
    950: '#000000',
  },
}
SCSS
$custom: #5c1259;
$custom-light: #8d5988;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1259",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 302.432,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.13512,
    "h": 329.8
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#5C1259
secondary
#359439
accent
#EA453E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1259

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

Preview Lab → · Contrast checker → · Palette generator →

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