#5C1264#5C1264

#5C1264 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.145 H 323.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5C1264
RGBrgb(92, 18, 100)
HSLhsl(294, 69%, 23%)
HSVhsv(294, 82%, 39%)
CMYKcmyk(8%, 82%, 0%, 60.8%)
CIE-LABlab(22.40, 43.35, -30.70)
CIE-LCHlch(22.40, 53.12, 324.69°)
OKLaboklab(35.02% 0.1164 -0.0858)
OKLCHoklch(35.02% 0.145 323.6)
XYZxyz(6.9300, 3.6285, 12.3895)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1264 #1A6412
analogous
#331264 #5C1264 #641243
triadic
#5C1264 #645C12 #12645C
tetradic
#5C1264 #643312 #1A6412 #124364
square
#5C1264 #643312 #1A6412 #124364
split-complementary
#5C1264 #436412 #126433
monochromatic
#18051A #2C0930 #5C1264 #8C1B98 #BB25CC

Accessibility & contrast

On white

12.17
#5C1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1264
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1264#FFFFFF#000000##FFFFFF
##5C12641.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#213862
Tritanopia (blue-blind)
#5E223B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1264;
/* rgb */ color: rgb(92, 18, 100);
/* oklch */ color: oklch(35.0% 0.145 323.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a90',
    500: '#5c1264',
    950: '#000000',
  },
}
SCSS
$custom: #5c1264;
$custom-light: #8d5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1264",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 294.146,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.14455,
    "h": 323.6
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#5C1264
secondary
#409C36
accent
#EC3B4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1264

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

Preview Lab → · Contrast checker → · Palette generator →

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