#5C1665#5C1665

#5C1665 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.141 H 322.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5C1665
RGBrgb(92, 22, 101)
HSLhsl(293, 64%, 24%)
HSVhsv(293, 78%, 40%)
CMYKcmyk(8.9%, 78.2%, 0%, 60.4%)
CIE-LABlab(22.96, 42.14, -30.47)
CIE-LCHlch(22.96, 52.00, 324.13°)
OKLaboklab(35.44% 0.1124 -0.0851)
OKLCHoklch(35.44% 0.141 322.9)
XYZxyz(7.0493, 3.7891, 12.6695)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1665 #1F6516
analogous
#351665 #5C1665 #651647
triadic
#5C1665 #655C16 #16655C
tetradic
#5C1665 #653516 #1F6516 #164765
square
#5C1665 #653516 #1F6516 #164765
split-complementary
#5C1665 #476516 #166535
monochromatic
#170519 #2E0B33 #5C1665 #8A2197 #B82CCA

Accessibility & contrast

On white

11.95
#5C1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1665
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1665#FFFFFF#000000##FFFFFF
##5C16651.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#233963
Tritanopia (blue-blind)
#5D253C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1665;
/* rgb */ color: rgb(92, 22, 101);
/* oklch */ color: oklch(35.4% 0.141 322.9);
Tailwind
colors: {
  custom: {
    50: '#8d5c91',
    500: '#5c1665',
    950: '#000000',
  },
}
SCSS
$custom: #5c1665;
$custom-light: #8d5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1665",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 293.165,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.14101,
    "h": 322.9
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#5C1665
secondary
#469C3B
accent
#E74154
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5C1665

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

Preview Lab → · Contrast checker → · Palette generator →

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