#5C1968#5C1968

#5C1968 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.140 H 321.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#5C1968
RGBrgb(92, 25, 104)
HSLhsl(291, 61%, 25%)
HSVhsv(291, 76%, 41%)
CMYKcmyk(11.5%, 76%, 0%, 59.2%)
CIE-LABlab(23.57, 41.57, -31.44)
CIE-LCHlch(23.57, 52.12, 322.89°)
OKLaboklab(35.94% 0.1091 -0.088)
OKLCHoklch(35.94% 0.14 321.1)
XYZxyz(7.2597, 3.9704, 13.4780)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1968 #256819
analogous
#341968 #5C1968 #68194C
triadic
#5C1968 #685C19 #19685C
tetradic
#5C1968 #683419 #256819 #194C68
square
#5C1968 #683419 #256819 #194C68
split-complementary
#5C1968 #4C6819 #196834
monochromatic
#160619 #300D37 #5C1968 #882599 #B331CB

Accessibility & contrast

On white

11.71
#5C1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1968
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1968#FFFFFF#000000##FFFFFF
##5C19681.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#223B66
Tritanopia (blue-blind)
#5D283F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1968;
/* rgb */ color: rgb(92, 25, 104);
/* oklch */ color: oklch(35.9% 0.140 321.1);
Tailwind
colors: {
  custom: {
    50: '#8d5d93',
    500: '#5c1968',
    950: '#000000',
  },
}
SCSS
$custom: #5c1968;
$custom-light: #8d5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1968",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 290.886,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.14014,
    "h": 321.1
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#5C1968
secondary
#4D9E3F
accent
#E4435C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C1968

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

Preview Lab → · Contrast checker → · Palette generator →

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