#5C1068#5C1068

#5C1068 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.150 H 321.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#5C1068
RGBrgb(92, 16, 104)
HSLhsl(292, 73%, 24%)
HSVhsv(292, 85%, 41%)
CMYKcmyk(11.5%, 84.6%, 0%, 59.2%)
CIE-LABlab(22.46, 44.76, -33.22)
CIE-LCHlch(22.46, 55.74, 323.41°)
OKLaboklab(35.15% 0.1176 -0.0931)
OKLCHoklch(35.15% 0.15 321.6)
XYZxyz(7.0973, 3.6458, 13.4239)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1068 #1C6810
analogous
#301068 #5C1068 #681048
triadic
#5C1068 #685C10 #10685C
tetradic
#5C1068 #683010 #1C6810 #104868
square
#5C1068 #683010 #1C6810 #104868
split-complementary
#5C1068 #486810 #106830
monochromatic
#17041B #2D0833 #5C1068 #8B189D #BA20D2

Accessibility & contrast

On white

12.15
#5C1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1068
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1068#FFFFFF#000000##FFFFFF
##5C10681.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#1D3866
Tritanopia (blue-blind)
#5D233D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1068;
/* rgb */ color: rgb(92, 16, 104);
/* oklch */ color: oklch(35.1% 0.150 321.6);
Tailwind
colors: {
  custom: {
    50: '#8e5a94',
    500: '#5c1068',
    950: '#000000',
  },
}
SCSS
$custom: #5c1068;
$custom-light: #8e5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1068",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 291.818,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.15002,
    "h": 321.6
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#5C1068
secondary
#42A034
accent
#F03851
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5C1068

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

Preview Lab → · Contrast checker → · Palette generator →

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