#5C1460#5C1460

#5C1460 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.139 H 325.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5C1460
RGBrgb(92, 20, 96)
HSLhsl(297, 66%, 23%)
HSVhsv(297, 79%, 38%)
CMYKcmyk(4.2%, 79.2%, 0%, 62.4%)
CIE-LABlab(22.38, 41.90, -28.12)
CIE-LCHlch(22.38, 50.46, 326.14°)
OKLaboklab(34.91% 0.1147 -0.0782)
OKLCHoklch(34.91% 0.139 325.7)
XYZxyz(6.7750, 3.6206, 11.4061)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1460 #186014
analogous
#361460 #5C1460 #60143E
triadic
#5C1460 #605C14 #14605C
tetradic
#5C1460 #603614 #186014 #143E60
square
#5C1460 #603614 #186014 #143E60
split-complementary
#5C1460 #3E6014 #146036
monochromatic
#180519 #2B092D #5C1460 #8D1F93 #BD29C5

Accessibility & contrast

On white

12.18
#5C1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1460
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1460#FFFFFF#000000##FFFFFF
##5C14601.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#25385E
Tritanopia (blue-blind)
#5E2139
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1460;
/* rgb */ color: rgb(92, 20, 96);
/* oklch */ color: oklch(34.9% 0.139 325.7);
Tailwind
colors: {
  custom: {
    50: '#8d5b8d',
    500: '#5c1460',
    950: '#000000',
  },
}
SCSS
$custom: #5c1460;
$custom-light: #8d5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1460",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 296.842,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.13886,
    "h": 325.7
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#5C1460
secondary
#3D9838
accent
#E83F48
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1460

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

Preview Lab → · Contrast checker → · Palette generator →

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