#5C1575#5C1575

#5C1575 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.157 H 315.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5C1575
RGBrgb(92, 21, 117)
HSLhsl(284, 70%, 27%)
HSVhsv(284, 82%, 46%)
CMYKcmyk(21.4%, 82.1%, 0%, 54.1%)
CIE-LABlab(23.99, 45.77, -39.17)
CIE-LCHlch(23.99, 60.25, 319.44°)
OKLaboklab(36.53% 0.1113 -0.1106)
OKLCHoklch(36.53% 0.157 315.2)
XYZxyz(7.8922, 4.0963, 17.2011)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1575 #2E7515
analogous
#2C1575 #5C1575 #75155E
triadic
#5C1575 #755C15 #15755C
tetradic
#5C1575 #752C15 #2E7515 #155E75
square
#5C1575 #752C15 #2E7515 #155E75
split-complementary
#5C1575 #5E7515 #15752C
monochromatic
#14051A #330C41 #5C1575 #851EA9 #AC2BD9

Accessibility & contrast

On white

11.54
#5C1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1575
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1575#FFFFFF#000000##FFFFFF
##5C15751.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#103B73
Tritanopia (blue-blind)
#5A2C45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1575;
/* rgb */ color: rgb(92, 21, 117);
/* oklch */ color: oklch(36.5% 0.157 315.2);
Tailwind
colors: {
  custom: {
    50: '#8e5c9d',
    500: '#5c1575',
    950: '#000000',
  },
}
SCSS
$custom: #5c1575;
$custom-light: #8e5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1575",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 284.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.15688,
    "h": 315.2
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#5C1575
secondary
#58AB3B
accent
#EC3B6A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1575

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

Preview Lab → · Contrast checker → · Palette generator →

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