#5C1383#5C1383

#5C1383 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.172 H 309.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#5C1383
RGBrgb(92, 19, 131)
HSLhsl(279, 75%, 29%)
HSVhsv(279, 85%, 51%)
CMYKcmyk(29.8%, 85.5%, 0%, 48.6%)
CIE-LABlab(24.89, 49.45, -46.60)
CIE-LCHlch(24.89, 67.95, 316.70°)
OKLaboklab(37.51% 0.1095 -0.1324)
OKLCHoklch(37.51% 0.172 309.6)
XYZxyz(8.7424, 4.3799, 21.8532)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1383 #3A8313
analogous
#241383 #5C1383 #831372
triadic
#5C1383 #835C13 #13835C
tetradic
#5C1383 #832413 #3A8313 #137283
square
#5C1383 #832413 #3A8313 #137283
split-complementary
#5C1383 #728313 #138324
monochromatic
#13041B #360B4E #5C1383 #821BB8 #A32FE1

Accessibility & contrast

On white

11.19
#5C1383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5C1383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1383
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1383#FFFFFF#000000##FFFFFF
##5C13831.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#56314D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1383;
/* rgb */ color: rgb(92, 19, 131);
/* oklch */ color: oklch(37.5% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#8f5ca8',
    500: '#5c1383',
    950: '#000000',
  },
}
SCSS
$custom: #5c1383;
$custom-light: #8f5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1383",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 131
  },
  "hsl": {
    "h": 279.107,
    "s": 74.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.17179,
    "h": 309.6
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#5C1383
secondary
#66B83A
accent
#F13778
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1383

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

Preview Lab → · Contrast checker → · Palette generator →

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