#5C1489#5C1489

#5C1489 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.177 H 307.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#5C1489
RGBrgb(92, 20, 137)
HSLhsl(277, 75%, 31%)
HSVhsv(277, 85%, 54%)
CMYKcmyk(32.8%, 85.4%, 0%, 46.3%)
CIE-LABlab(25.51, 50.47, -49.35)
CIE-LCHlch(25.51, 70.59, 315.64°)
OKLaboklab(38.1% 0.107 -0.1405)
OKLCHoklch(38.1% 0.177 307.3)
XYZxyz(9.1782, 4.5819, 24.0629)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1489 #418914
analogous
#211489 #5C1489 #89147B
triadic
#5C1489 #895C14 #14895C
tetradic
#5C1489 #892114 #418914 #147B89
square
#5C1489 #892114 #418914 #147B89
split-complementary
#5C1489 #7B8914 #148921
monochromatic
#14041E #380C54 #5C1489 #801CBE #A036E2

Accessibility & contrast

On white

10.96
#5C1489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5C1489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1489
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1489#FFFFFF#000000##FFFFFF
##5C14891.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#543551
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c1489;
/* rgb */ color: rgb(92, 20, 137);
/* oklch */ color: oklch(38.1% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#8f5dac',
    500: '#5c1489',
    950: '#000000',
  },
}
SCSS
$custom: #5c1489;
$custom-light: #8f5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1489",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 276.923,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.17659,
    "h": 307.3
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#5C1489
secondary
#6DBD3C
accent
#F1377E
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1489

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

Preview Lab → · Contrast checker → · Palette generator →

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