#5C0E54#5C0E54

#5C0E54 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.135 H 332.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#5C0E54
RGBrgb(92, 14, 84)
HSLhsl(306, 74%, 21%)
HSVhsv(306, 85%, 36%)
CMYKcmyk(0%, 84.8%, 8.7%, 63.9%)
CIE-LABlab(20.94, 41.72, -22.40)
CIE-LCHlch(20.94, 47.35, 331.77°)
OKLaboklab(33.65% 0.1204 -0.0616)
OKLCHoklch(33.65% 0.135 332.9)
XYZxyz(6.1709, 3.2300, 8.6842)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E54 #0E5C16
analogous
#3D0E5C #5C0E54 #5C0E2D
triadic
#5C0E54 #545C0E #0E545C
tetradic
#5C0E54 #5C3D0E #0E5C16 #0E2D5C
square
#5C0E54 #5C3D0E #0E5C16 #0E2D5C
split-complementary
#5C0E54 #2D5C0E #0E5C3D
monochromatic
#1B0418 #270624 #5C0E54 #911684 #C61EB5

Accessibility & contrast

On white

12.76
#5C0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E54
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E54#FFFFFF#000000##FFFFFF
##5C0E541.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B56
Deuteranopia (green-blind)
#2A3652
Tritanopia (blue-blind)
#601731
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0e54;
/* rgb */ color: rgb(92, 14, 84);
/* oklch */ color: oklch(33.6% 0.135 332.9);
Tailwind
colors: {
  custom: {
    50: '#8d5884',
    500: '#5c0e54',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e54;
$custom-light: #8d5884;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e54",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 306.154,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33648,
    "c": 0.13527,
    "h": 332.9
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#5C0E54
secondary
#30963A
accent
#F04A38
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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