#5C1064#5C1064

#5C1064 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.147 H 323.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5C1064
RGBrgb(92, 16, 100)
HSLhsl(294, 72%, 23%)
HSVhsv(294, 84%, 39%)
CMYKcmyk(8%, 84%, 0%, 60.8%)
CIE-LABlab(22.18, 43.99, -31.06)
CIE-LCHlch(22.18, 53.85, 324.78°)
OKLaboklab(34.86% 0.1181 -0.0868)
OKLCHoklch(34.86% 0.147 323.7)
XYZxyz(6.8990, 3.5664, 12.3791)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1064 #186410
analogous
#321064 #5C1064 #641042
triadic
#5C1064 #645C10 #10645C
tetradic
#5C1064 #643210 #186410 #104264
square
#5C1064 #643210 #186410 #104264
split-complementary
#5C1064 #426410 #106432
monochromatic
#18041A #2B082F #5C1064 #8D1899 #BD21CE

Accessibility & contrast

On white

12.26
#5C1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1064
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1064#FFFFFF#000000##FFFFFF
##5C10641.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#203862
Tritanopia (blue-blind)
#5E213A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1064;
/* rgb */ color: rgb(92, 16, 100);
/* oklch */ color: oklch(34.9% 0.147 323.7);
Tailwind
colors: {
  custom: {
    50: '#8d5991',
    500: '#5c1064',
    950: '#000000',
  },
}
SCSS
$custom: #5c1064;
$custom-light: #8d5991;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1064",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 294.286,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.14655,
    "h": 323.7
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#5C1064
secondary
#3D9D33
accent
#EF394A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5C1064

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

Preview Lab → · Contrast checker → · Palette generator →

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