#5C1390#5C1390

#5C1390 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.184 H 304.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#5C1390
RGBrgb(92, 19, 144)
HSLhsl(275, 77%, 32%)
HSVhsv(275, 87%, 56%)
CMYKcmyk(36.1%, 86.8%, 0%, 43.5%)
CIE-LABlab(26.02, 52.35, -52.87)
CIE-LCHlch(26.02, 74.40, 314.72°)
OKLaboklab(38.65% 0.1054 -0.1508)
OKLCHoklch(38.65% 0.184 304.9)
XYZxyz(9.6794, 4.7547, 26.7880)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1390 #479013
analogous
#1E1390 #5C1390 #901386
triadic
#5C1390 #905C13 #13905C
tetradic
#5C1390 #901E13 #479013 #138690
square
#5C1390 #901E13 #479013 #138690
split-complementary
#5C1390 #869013 #13901E
monochromatic
#170524 #390C5A #5C1390 #7F1AC6 #9D39E5

Accessibility & contrast

On white

10.76
#5C1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5C1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1390
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1390#FFFFFF#000000##FFFFFF
##5C13901.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#523755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c1390;
/* rgb */ color: rgb(92, 19, 144);
/* oklch */ color: oklch(38.6% 0.184 304.9);
Tailwind
colors: {
  custom: {
    50: '#905db1',
    500: '#5c1390',
    950: '#000000',
  },
}
SCSS
$custom: #5c1390;
$custom-light: #905db1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1390",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 275.04,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.18397,
    "h": 304.9
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#5C1390
secondary
#74C43B
accent
#F33584
background
#F9F5FB
surface
#F2E9F6
border
#CCC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1390

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

Preview Lab → · Contrast checker → · Palette generator →

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