#5C1C93#5C1C93

#5C1C93 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.179 H 303.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#5C1C93
RGBrgb(92, 28, 147)
HSLhsl(272, 68%, 34%)
HSVhsv(272, 81%, 58%)
CMYKcmyk(37.4%, 81%, 0%, 42.4%)
CIE-LABlab(27.33, 50.01, -52.58)
CIE-LCHlch(27.33, 72.56, 313.56°)
OKLaboklab(39.64% 0.0979 -0.1501)
OKLCHoklch(39.64% 0.179 303.1)
XYZxyz(10.0941, 5.2124, 28.0724)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1C93 #53931C
analogous
#211C93 #5C1C93 #931C8F
triadic
#5C1C93 #935C1C #1C935C
tetradic
#5C1C93 #93211C #53931C #1C8F93
square
#5C1C93 #93211C #53931C #1C8F93
split-complementary
#5C1C93 #8F931C #1C9321
monochromatic
#1C082C #3C1260 #5C1C93 #7C26C6 #9A4CDD

Accessibility & contrast

On white

10.28
#5C1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5C1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1C93
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1C93#FFFFFF#000000##FFFFFF
##5C1C931.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#513C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c1c93;
/* rgb */ color: rgb(92, 28, 147);
/* oklch */ color: oklch(39.6% 0.179 303.1);
Tailwind
colors: {
  custom: {
    50: '#9061b4',
    500: '#5c1c93',
    950: '#000000',
  },
}
SCSS
$custom: #5c1c93;
$custom-light: #9061b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1c93",
  "rgb": {
    "r": 92,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 272.269,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.17919,
    "h": 303.1
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#5C1C93
secondary
#81BF4C
accent
#EB3D8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5C1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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