#5C1994#5C1994

#5C1994 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.183 H 303.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#5C1994
RGBrgb(92, 25, 148)
HSLhsl(273, 71%, 34%)
HSVhsv(273, 83%, 58%)
CMYKcmyk(37.8%, 83.1%, 0%, 42%)
CIE-LABlab(27.04, 51.34, -53.67)
CIE-LCHlch(27.04, 74.27, 313.73°)
OKLaboklab(39.46% 0.1 -0.1532)
OKLCHoklch(39.46% 0.183 303.1)
XYZxyz(10.1053, 5.1087, 28.4649)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1994 #519419
analogous
#1F1994 #5C1994 #94198F
triadic
#5C1994 #945C19 #19945C
tetradic
#5C1994 #941F19 #519419 #198F94
square
#5C1994 #941F19 #519419 #198F94
split-complementary
#5C1994 #8F9419 #19941F
monochromatic
#1B072B #3B1060 #5C1994 #7D22C8 #9B47E0

Accessibility & contrast

On white

10.39
#5C1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5C1994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1994
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1994#FFFFFF#000000##FFFFFF
##5C19941.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#503B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c1994;
/* rgb */ color: rgb(92, 25, 148);
/* oklch */ color: oklch(39.5% 0.183 303.1);
Tailwind
colors: {
  custom: {
    50: '#9060b4',
    500: '#5c1994',
    950: '#000000',
  },
}
SCSS
$custom: #5c1994;
$custom-light: #9060b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1994",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 272.683,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.18295,
    "h": 303.1
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#5C1994
secondary
#7FC147
accent
#EE3A8C
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1994

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

Preview Lab → · Contrast checker → · Palette generator →

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