#5C146B#5C146B

#5C146B is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.149 H 319.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5C146B
RGBrgb(92, 20, 107)
HSLhsl(290, 69%, 25%)
HSVhsv(290, 81%, 42%)
CMYKcmyk(14%, 81.3%, 0%, 58%)
CIE-LABlab(23.13, 44.05, -34.11)
CIE-LCHlch(23.13, 55.72, 322.25°)
OKLaboklab(35.69% 0.1138 -0.0957)
OKLCHoklch(35.69% 0.149 319.9)
XYZxyz(7.3173, 3.8375, 14.2624)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C146B #236B14
analogous
#30146B #5C146B #6B144F
triadic
#5C146B #6B5C14 #146B5C
tetradic
#5C146B #6B3014 #236B14 #144F6B
square
#5C146B #6B3014 #236B14 #144F6B
split-complementary
#5C146B #4F6B14 #146B30
monochromatic
#16051A #300A37 #5C146B #881E9F #B527D2

Accessibility & contrast

On white

11.88
#5C146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C146B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C146B#FFFFFF#000000##FFFFFF
##5C146B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#1C3A69
Tritanopia (blue-blind)
#5C263F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c146b;
/* rgb */ color: rgb(92, 20, 107);
/* oklch */ color: oklch(35.7% 0.149 319.9);
Tailwind
colors: {
  custom: {
    50: '#8d5b96',
    500: '#5c146b',
    950: '#000000',
  },
}
SCSS
$custom: #5c146b;
$custom-light: #8d5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#5c146b",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 289.655,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.1487,
    "h": 319.9
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#5C146B
secondary
#4BA239
accent
#EB3C5B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C146B

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

Preview Lab → · Contrast checker → · Palette generator →

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