#5C1250#5C1250

#5C1250 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.128 H 335.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5C1250
RGBrgb(92, 18, 80)
HSLhsl(310, 67%, 22%)
HSVhsv(310, 80%, 36%)
CMYKcmyk(0%, 80.4%, 13%, 63.9%)
CIE-LABlab(21.16, 39.77, -19.35)
CIE-LCHlch(21.16, 44.23, 334.05°)
OKLaboklab(33.73% 0.1164 -0.0528)
OKLCHoklch(33.73% 0.128 335.6)
XYZxyz(6.0780, 3.2877, 7.9023)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1250 #125C1E
analogous
#43125C #5C1250 #5C122B
triadic
#5C1250 #505C12 #12505C
tetradic
#5C1250 #5C4312 #125C1E #122B5C
square
#5C1250 #5C4312 #125C1E #122B5C
split-complementary
#5C1250 #2B5C12 #125C43
monochromatic
#1A0516 #290823 #5C1250 #8F1C7D #C226A9

Accessibility & contrast

On white

12.67
#5C1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1250
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1250#FFFFFF#000000##FFFFFF
##5C12501.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C52
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#611830
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1250;
/* rgb */ color: rgb(92, 18, 80);
/* oklch */ color: oklch(33.7% 0.128 335.6);
Tailwind
colors: {
  custom: {
    50: '#8d5981',
    500: '#5c1250',
    950: '#000000',
  },
}
SCSS
$custom: #5c1250;
$custom-light: #8d5981;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1250",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 309.73,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.12784,
    "h": 335.6
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#5C1250
secondary
#359445
accent
#EA5A3E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C1250

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

Preview Lab → · Contrast checker → · Palette generator →

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