#5C1A67#5C1A67

#5C1A67 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.138 H 321.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#5C1A67
RGBrgb(92, 26, 103)
HSLhsl(291, 60%, 25%)
HSVhsv(291, 75%, 40%)
CMYKcmyk(10.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(23.65, 40.95, -30.67)
CIE-LCHlch(23.65, 51.16, 323.17°)
OKLaboklab(35.97% 0.108 -0.0857)
OKLCHoklch(35.97% 0.138 321.6)
XYZxyz(7.2309, 3.9938, 13.2193)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1A67 #25671A
analogous
#361A67 #5C1A67 #671A4B
triadic
#5C1A67 #675C1A #1A675C
tetradic
#5C1A67 #67361A #25671A #1A4B67
square
#5C1A67 #67361A #25671A #1A4B67
split-complementary
#5C1A67 #4B671A #1A6736
monochromatic
#160618 #300E36 #5C1A67 #882698 #B333C9

Accessibility & contrast

On white

11.68
#5C1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1A67
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1A67#FFFFFF#000000##FFFFFF
##5C1A671.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#5D283E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1a67;
/* rgb */ color: rgb(92, 26, 103);
/* oklch */ color: oklch(36.0% 0.138 321.6);
Tailwind
colors: {
  custom: {
    50: '#8d5e93',
    500: '#5c1a67',
    950: '#000000',
  },
}
SCSS
$custom: #5c1a67;
$custom-light: #8d5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1a67",
  "rgb": {
    "r": 92,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 291.429,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3597,
    "c": 0.13792,
    "h": 321.6
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#5C1A67
secondary
#4D9D40
accent
#E3455C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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