#5C1973#5C1973

#5C1973 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.151 H 315.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#5C1973
RGBrgb(92, 25, 115)
HSLhsl(285, 64%, 27%)
HSVhsv(285, 78%, 45%)
CMYKcmyk(20%, 78.3%, 0%, 54.9%)
CIE-LABlab(24.35, 43.87, -37.31)
CIE-LCHlch(24.35, 57.59, 319.62°)
OKLaboklab(36.74% 0.1079 -0.1051)
OKLCHoklch(36.74% 0.151 315.7)
XYZxyz(7.8553, 4.2087, 16.6149)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1973 #307319
analogous
#2F1973 #5C1973 #73195D
triadic
#5C1973 #735C19 #19735C
tetradic
#5C1973 #732F19 #307319 #195D73
square
#5C1973 #732F19 #307319 #195D73
split-complementary
#5C1973 #5D7319 #19732F
monochromatic
#140519 #340E41 #5C1973 #8424A5 #AA34D3

Accessibility & contrast

On white

11.40
#5C1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5C1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1973
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1973#FFFFFF#000000##FFFFFF
##5C19731.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#5A2D45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1973;
/* rgb */ color: rgb(92, 25, 115);
/* oklch */ color: oklch(36.7% 0.151 315.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e9c',
    500: '#5c1973',
    950: '#000000',
  },
}
SCSS
$custom: #5c1973;
$custom-light: #8e5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1973",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 284.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.15065,
    "h": 315.7
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#5C1973
secondary
#5AA840
accent
#E7416B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5C1973

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

Preview Lab → · Contrast checker → · Palette generator →

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