#5C1583#5C1583

#5C1583 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.170 H 309.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#5C1583
RGBrgb(92, 21, 131)
HSLhsl(279, 72%, 30%)
HSVhsv(279, 84%, 51%)
CMYKcmyk(29.8%, 84%, 0%, 48.6%)
CIE-LABlab(25.11, 48.81, -46.24)
CIE-LCHlch(25.11, 67.24, 316.55°)
OKLaboklab(37.66% 0.108 -0.1314)
OKLCHoklch(37.66% 0.17 309.4)
XYZxyz(8.7777, 4.4505, 21.8650)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1583 #3C8315
analogous
#251583 #5C1583 #831573
triadic
#5C1583 #835C15 #15835C
tetradic
#5C1583 #832515 #3C8315 #157383
square
#5C1583 #832515 #3C8315 #157383
split-complementary
#5C1583 #738315 #158325
monochromatic
#13041A #370D4E #5C1583 #811DB8 #A234DE

Accessibility & contrast

On white

11.11
#5C1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1583
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1583#FFFFFF#000000##FFFFFF
##5C15831.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#56324D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c1583;
/* rgb */ color: rgb(92, 21, 131);
/* oklch */ color: oklch(37.7% 0.170 309.4);
Tailwind
colors: {
  custom: {
    50: '#8f5da8',
    500: '#5c1583',
    950: '#000000',
  },
}
SCSS
$custom: #5c1583;
$custom-light: #8f5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1583",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 278.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.17005,
    "h": 309.4
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#5C1583
secondary
#68B83C
accent
#EF3979
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1583

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

Preview Lab → · Contrast checker → · Palette generator →

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