#5C1680#5C1680

#5C1680 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.166 H 310.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#5C1680
RGBrgb(92, 22, 128)
HSLhsl(280, 71%, 29%)
HSVhsv(280, 83%, 50%)
CMYKcmyk(28.1%, 82.8%, 0%, 49.8%)
CIE-LABlab(24.98, 47.81, -44.57)
CIE-LCHlch(24.98, 65.36, 317.01°)
OKLaboklab(37.49% 0.108 -0.1264)
OKLCHoklch(37.49% 0.166 310.5)
XYZxyz(8.5961, 4.4078, 20.8159)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1680 #3A8016
analogous
#271680 #5C1680 #80166F
triadic
#5C1680 #805C16 #16805C
tetradic
#5C1680 #802716 #3A8016 #166F80
square
#5C1680 #802716 #3A8016 #166F80
split-complementary
#5C1680 #6F8016 #168027
monochromatic
#13041A #360D4C #5C1680 #821FB4 #A334DC

Accessibility & contrast

On white

11.16
#5C1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5C1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1680
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1680#FFFFFF#000000##FFFFFF
##5C16801.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#57314C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1680;
/* rgb */ color: rgb(92, 22, 128);
/* oklch */ color: oklch(37.5% 0.166 310.5);
Tailwind
colors: {
  custom: {
    50: '#8f5da6',
    500: '#5c1680',
    950: '#000000',
  },
}
SCSS
$custom: #5c1680;
$custom-light: #8f5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1680",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 279.623,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.16627,
    "h": 310.5
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#5C1680
secondary
#66B53D
accent
#ED3A77
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5C1680

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

Preview Lab → · Contrast checker → · Palette generator →

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