#5C1765#5C1765

#5C1765 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.140 H 322.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5C1765
RGBrgb(92, 23, 101)
HSLhsl(293, 63%, 24%)
HSVhsv(293, 77%, 40%)
CMYKcmyk(8.9%, 77.2%, 0%, 60.4%)
CIE-LABlab(23.09, 41.76, -30.25)
CIE-LCHlch(23.09, 51.56, 324.08°)
OKLaboklab(35.53% 0.1114 -0.0845)
OKLCHoklch(35.53% 0.14 322.8)
XYZxyz(7.0688, 3.8281, 12.6760)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1765 #206517
analogous
#351765 #5C1765 #651747
triadic
#5C1765 #655C17 #17655C
tetradic
#5C1765 #653517 #206517 #174765
square
#5C1765 #653517 #206517 #174765
split-complementary
#5C1765 #476517 #176535
monochromatic
#170619 #2F0C33 #5C1765 #892297 #B72EC9

Accessibility & contrast

On white

11.89
#5C1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1765
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1765#FFFFFF#000000##FFFFFF
##5C17651.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#233A63
Tritanopia (blue-blind)
#5D253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1765;
/* rgb */ color: rgb(92, 23, 101);
/* oklch */ color: oklch(35.5% 0.140 322.8);
Tailwind
colors: {
  custom: {
    50: '#8d5c91',
    500: '#5c1765',
    950: '#000000',
  },
}
SCSS
$custom: #5c1765;
$custom-light: #8d5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1765",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 293.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.13982,
    "h": 322.8
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#5C1765
secondary
#479B3C
accent
#E64255
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #5C1765

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

Preview Lab → · Contrast checker → · Palette generator →

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