#5C146A#5C146A

#5C146A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.148 H 320.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5C146A
RGBrgb(92, 20, 106)
HSLhsl(290, 68%, 25%)
HSVhsv(290, 81%, 42%)
CMYKcmyk(13.2%, 81.1%, 0%, 58.4%)
CIE-LABlab(23.06, 43.85, -33.58)
CIE-LCHlch(23.06, 55.23, 322.56°)
OKLaboklab(35.61% 0.1139 -0.0942)
OKLCHoklch(35.61% 0.148 320.4)
XYZxyz(7.2650, 3.8166, 13.9869)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C146A #226A14
analogous
#31146A #5C146A #6A144D
triadic
#5C146A #6A5C14 #146A5C
tetradic
#5C146A #6A3114 #226A14 #144D6A
square
#5C146A #6A3114 #226A14 #144D6A
split-complementary
#5C146A #4D6A14 #146A31
monochromatic
#16051A #2F0A37 #5C146A #891E9D #B527D1

Accessibility & contrast

On white

11.91
#5C146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C146A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C146A#FFFFFF#000000##FFFFFF
##5C146A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c146a;
/* rgb */ color: rgb(92, 20, 106);
/* oklch */ color: oklch(35.6% 0.148 320.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b95',
    500: '#5c146a',
    950: '#000000',
  },
}
SCSS
$custom: #5c146a;
$custom-light: #8d5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c146a",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 290.233,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.14779,
    "h": 320.4
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#5C146A
secondary
#4AA139
accent
#EB3D59
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C146A

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

Preview Lab → · Contrast checker → · Palette generator →

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