#5C1565#5C1565

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

Color values

HEX#5C1565
RGBrgb(92, 21, 101)
HSLhsl(293, 66%, 24%)
HSVhsv(293, 79%, 40%)
CMYKcmyk(8.9%, 79.2%, 0%, 60.4%)
CIE-LABlab(22.83, 42.51, -30.67)
CIE-LCHlch(22.83, 52.42, 324.19°)
OKLaboklab(35.34% 0.1134 -0.0857)
OKLCHoklch(35.34% 0.142 322.9)
XYZxyz(7.0305, 3.7516, 12.6632)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1565 #1E6515
analogous
#341565 #5C1565 #651546
triadic
#5C1565 #655C15 #15655C
tetradic
#5C1565 #653415 #1E6515 #154665
square
#5C1565 #653415 #1E6515 #154665
split-complementary
#5C1565 #466515 #156534
monochromatic
#170519 #2E0A32 #5C1565 #8A2098 #B82ACA

Accessibility & contrast

On white

12.00
#5C1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5C1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1565
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1565#FFFFFF#000000##FFFFFF
##5C15651.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#5D243C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1565;
/* rgb */ color: rgb(92, 21, 101);
/* oklch */ color: oklch(35.3% 0.142 322.9);
Tailwind
colors: {
  custom: {
    50: '#8d5b91',
    500: '#5c1565',
    950: '#000000',
  },
}
SCSS
$custom: #5c1565;
$custom-light: #8d5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1565",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 293.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.14216,
    "h": 322.9
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#5C1565
secondary
#459C3A
accent
#E93F52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5C1565

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

Preview Lab → · Contrast checker → · Palette generator →

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