#5C1062#5C1062

#5C1062 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.145 H 324.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#5C1062
RGBrgb(92, 16, 98)
HSLhsl(296, 72%, 22%)
HSVhsv(296, 84%, 38%)
CMYKcmyk(6.1%, 83.7%, 0%, 61.6%)
CIE-LABlab(22.05, 43.61, -29.96)
CIE-LCHlch(22.05, 52.91, 325.51°)
OKLaboklab(34.72% 0.1183 -0.0836)
OKLCHoklch(34.72% 0.145 324.8)
XYZxyz(6.8034, 3.5282, 11.8756)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1062 #166210
analogous
#331062 #5C1062 #62103F
triadic
#5C1062 #625C10 #10625C
tetradic
#5C1062 #623310 #166210 #103F62
square
#5C1062 #623310 #166210 #103F62
split-complementary
#5C1062 #3F6210 #106233
monochromatic
#19041A #2B072D #5C1062 #8D1997 #BF21CB

Accessibility & contrast

On white

12.31
#5C1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1062
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1062#FFFFFF#000000##FFFFFF
##5C10621.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#223860
Tritanopia (blue-blind)
#5E2039
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1062;
/* rgb */ color: rgb(92, 16, 98);
/* oklch */ color: oklch(34.7% 0.145 324.8);
Tailwind
colors: {
  custom: {
    50: '#8d598f',
    500: '#5c1062',
    950: '#000000',
  },
}
SCSS
$custom: #5c1062;
$custom-light: #8d598f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1062",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 295.61,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.14483,
    "h": 324.8
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#5C1062
secondary
#3B9B33
accent
#EF3946
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1062

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

Preview Lab → · Contrast checker → · Palette generator →

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