#5C1058#5C1058

#5C1058 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.136 H 330.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1058
RGBrgb(92, 16, 88)
HSLhsl(303, 70%, 21%)
HSVhsv(303, 83%, 36%)
CMYKcmyk(0%, 82.6%, 4.3%, 63.9%)
CIE-LABlab(21.40, 41.80, -24.36)
CIE-LCHlch(21.40, 48.38, 329.77°)
OKLaboklab(34.05% 0.1187 -0.0673)
OKLCHoklch(34.05% 0.136 330.5)
XYZxyz(6.3604, 3.3510, 9.5424)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1058 #105C14
analogous
#3A105C #5C1058 #5C1032
triadic
#5C1058 #585C10 #10585C
tetradic
#5C1058 #5C3A10 #105C14 #10325C
square
#5C1058 #5C3A10 #105C14 #10325C
split-complementary
#5C1058 #325C10 #105C3A
monochromatic
#1A0519 #280726 #5C1058 #90198A #C422BC

Accessibility & contrast

On white

12.57
#5C1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1058
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1058#FFFFFF#000000##FFFFFF
##5C10581.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#601B34
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1058;
/* rgb */ color: rgb(92, 16, 88);
/* oklch */ color: oklch(34.1% 0.136 330.5);
Tailwind
colors: {
  custom: {
    50: '#8d5987',
    500: '#5c1058',
    950: '#000000',
  },
}
SCSS
$custom: #5c1058;
$custom-light: #8d5987;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1058",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 303.158,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34051,
    "c": 0.13645,
    "h": 330.5
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#5C1058
secondary
#339538
accent
#ED443B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1058

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

Preview Lab → · Contrast checker → · Palette generator →

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