#5C147A#5C147A

#5C147A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.163 H 313.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#5C147A
RGBrgb(92, 20, 122)
HSLhsl(282, 72%, 28%)
HSVhsv(282, 84%, 48%)
CMYKcmyk(24.6%, 83.6%, 0%, 52.2%)
CIE-LABlab(24.26, 47.18, -41.92)
CIE-LCHlch(24.26, 63.11, 318.38°)
OKLaboklab(36.84% 0.111 -0.1187)
OKLCHoklch(36.84% 0.163 313.1)
XYZxyz(8.1760, 4.1810, 18.7849)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C147A #327A14
analogous
#29147A #5C147A #7A1465
triadic
#5C147A #7A5C14 #147A5C
tetradic
#5C147A #7A2914 #327A14 #14657A
square
#5C147A #7A2914 #327A14 #14657A
split-complementary
#5C147A #657A14 #147A29
monochromatic
#14041A #340B45 #5C147A #841DAF #A92CDC

Accessibility & contrast

On white

11.44
#5C147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5C147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C147A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C147A#FFFFFF#000000##FFFFFF
##5C147A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#033B78
Tritanopia (blue-blind)
#592E48
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c147a;
/* rgb */ color: rgb(92, 20, 122);
/* oklch */ color: oklch(36.8% 0.163 313.1);
Tailwind
colors: {
  custom: {
    50: '#8e5ca1',
    500: '#5c147a',
    950: '#000000',
  },
}
SCSS
$custom: #5c147a;
$custom-light: #8e5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c147a",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 282.353,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.16251,
    "h": 313.1
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#5C147A
secondary
#5DB03A
accent
#EF396F
background
#F9F5FA
surface
#F1E9F3
border
#CBC5CD
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5C147A

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

Preview Lab → · Contrast checker → · Palette generator →

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