#5C1056#5C1056

#5C1056 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.135 H 331.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5C1056
RGBrgb(92, 16, 86)
HSLhsl(305, 70%, 21%)
HSVhsv(305, 83%, 36%)
CMYKcmyk(0%, 82.6%, 6.5%, 63.9%)
CIE-LABlab(21.28, 41.45, -23.21)
CIE-LCHlch(21.28, 47.51, 330.75°)
OKLaboklab(33.92% 0.1187 -0.064)
OKLCHoklch(33.92% 0.135 331.7)
XYZxyz(6.2786, 3.3183, 9.1121)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1056 #105C16
analogous
#3C105C #5C1056 #5C1030
triadic
#5C1056 #565C10 #10565C
tetradic
#5C1056 #5C3C10 #105C16 #10305C
square
#5C1056 #5C3C10 #105C16 #10305C
split-complementary
#5C1056 #305C10 #105C3C
monochromatic
#1A0518 #280725 #5C1056 #901987 #C422B7

Accessibility & contrast

On white

12.62
#5C1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1056
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1056#FFFFFF#000000##FFFFFF
##5C10561.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C58
Deuteranopia (green-blind)
#293754
Tritanopia (blue-blind)
#601A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1056;
/* rgb */ color: rgb(92, 16, 86);
/* oklch */ color: oklch(33.9% 0.135 331.7);
Tailwind
colors: {
  custom: {
    50: '#8d5986',
    500: '#5c1056',
    950: '#000000',
  },
}
SCSS
$custom: #5c1056;
$custom-light: #8d5986;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1056",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 304.737,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33925,
    "c": 0.13483,
    "h": 331.7
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#5C1056
secondary
#33953A
accent
#ED493B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1056

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

Preview Lab → · Contrast checker → · Palette generator →

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