#5C1769#5C1769

#5C1769 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.144 H 320.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#5C1769
RGBrgb(92, 23, 105)
HSLhsl(290, 64%, 25%)
HSVhsv(290, 78%, 41%)
CMYKcmyk(12.4%, 78.1%, 0%, 58.8%)
CIE-LABlab(23.37, 42.56, -32.43)
CIE-LCHlch(23.37, 53.50, 322.69°)
OKLaboklab(35.81% 0.1111 -0.0908)
OKLCHoklch(35.81% 0.144 320.7)
XYZxyz(7.2695, 3.9084, 13.7334)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1769 #246917
analogous
#331769 #5C1769 #69174D
triadic
#5C1769 #695C17 #17695C
tetradic
#5C1769 #693317 #246917 #174D69
square
#5C1769 #693317 #246917 #174D69
split-complementary
#5C1769 #4D6917 #176933
monochromatic
#160519 #300C37 #5C1769 #88229B #B42DCD

Accessibility & contrast

On white

11.79
#5C1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5C1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1769
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1769#FFFFFF#000000##FFFFFF
##5C17691.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#5D273F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1769;
/* rgb */ color: rgb(92, 23, 105);
/* oklch */ color: oklch(35.8% 0.144 320.7);
Tailwind
colors: {
  custom: {
    50: '#8d5c94',
    500: '#5c1769',
    950: '#000000',
  },
}
SCSS
$custom: #5c1769;
$custom-light: #8d5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1769",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 290.488,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.14351,
    "h": 320.7
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#5C1769
secondary
#4C9F3D
accent
#E7415B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1769

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

Preview Lab → · Contrast checker → · Palette generator →

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