#5C1054#5C1054

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

Color values

HEX#5C1054
RGBrgb(92, 16, 84)
HSLhsl(306, 70%, 21%)
HSVhsv(306, 83%, 36%)
CMYKcmyk(0%, 82.6%, 8.7%, 63.9%)
CIE-LABlab(21.16, 41.11, -22.06)
CIE-LCHlch(21.16, 46.65, 331.78°)
OKLaboklab(33.8% 0.1186 -0.0606)
OKLCHoklch(33.8% 0.133 332.9)
XYZxyz(6.1992, 3.2865, 8.6937)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1054 #105C18
analogous
#3E105C #5C1054 #5C102E
triadic
#5C1054 #545C10 #10545C
tetradic
#5C1054 #5C3E10 #105C18 #102E5C
square
#5C1054 #5C3E10 #105C18 #102E5C
split-complementary
#5C1054 #2E5C10 #105C3E
monochromatic
#1A0518 #280724 #5C1054 #901984 #C422B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1054#FFFFFF#000000##FFFFFF
##5C10541.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)
#0C2C56
Deuteranopia (green-blind)
#2A3752
Tritanopia (blue-blind)
#601931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1054;
/* rgb */ color: rgb(92, 16, 84);
/* oklch */ color: oklch(33.8% 0.133 332.9);
Tailwind
colors: {
  custom: {
    50: '#8d5884',
    500: '#5c1054',
    950: '#000000',
  },
}
SCSS
$custom: #5c1054;
$custom-light: #8d5884;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1054",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 306.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.13322,
    "h": 332.9
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#5C1054
secondary
#33953D
accent
#ED4D3B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1054

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

Preview Lab → · Contrast checker → · Palette generator →

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