#5C146E#5C146E

#5C146E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.151 H 318.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5C146E
RGBrgb(92, 20, 110)
HSLhsl(288, 69%, 25%)
HSVhsv(288, 82%, 43%)
CMYKcmyk(16.4%, 81.8%, 0%, 56.9%)
CIE-LABlab(23.34, 44.66, -35.71)
CIE-LCHlch(23.34, 57.18, 321.36°)
OKLaboklab(35.91% 0.1134 -0.1004)
OKLCHoklch(35.91% 0.151 318.5)
XYZxyz(7.4779, 3.9018, 15.1081)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C146E #266E14
analogous
#2F146E #5C146E #6E1453
triadic
#5C146E #6E5C14 #146E5C
tetradic
#5C146E #6E2F14 #266E14 #14536E
square
#5C146E #6E2F14 #266E14 #14536E
split-complementary
#5C146E #536E14 #146E2F
monochromatic
#16051A #310B3A #5C146E #871DA2 #B327D6

Accessibility & contrast

On white

11.80
#5C146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5C146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C146E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C146E#FFFFFF#000000##FFFFFF
##5C146E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#193A6C
Tritanopia (blue-blind)
#5C2841
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c146e;
/* rgb */ color: rgb(92, 20, 110);
/* oklch */ color: oklch(35.9% 0.151 318.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b98',
    500: '#5c146e',
    950: '#000000',
  },
}
SCSS
$custom: #5c146e;
$custom-light: #8e5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c146e",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 288,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35909,
    "c": 0.15143,
    "h": 318.5
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#5C146E
secondary
#4FA539
accent
#EC3C5F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C146E

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

Preview Lab → · Contrast checker → · Palette generator →

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