#5C1699#5C1699

#5C1699 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.7% C 0.190 H 301.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#5C1699
RGBrgb(92, 22, 153)
HSLhsl(272, 75%, 34%)
HSVhsv(272, 86%, 60%)
CMYKcmyk(39.9%, 85.6%, 0%, 40%)
CIE-LABlab(27.16, 53.51, -56.56)
CIE-LCHlch(27.16, 77.86, 313.41°)
OKLaboklab(39.68% 0.1003 -0.1617)
OKLCHoklch(39.68% 0.19 301.8)
XYZxyz(10.4489, 5.1490, 30.5742)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1699 #539916
analogous
#1B1699 #5C1699 #991695
triadic
#5C1699 #995C16 #16995C
tetradic
#5C1699 #991B16 #539916 #169599
square
#5C1699 #991B16 #539916 #169599
split-complementary
#5C1699 #959916 #16991B
monochromatic
#1C072E #3C0E63 #5C1699 #7C1ECF #9A45E4

Accessibility & contrast

On white

10.35
#5C1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1699
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1699#FFFFFF#000000##FFFFFF
##5C16991.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#4E3D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c1699;
/* rgb */ color: rgb(92, 22, 153);
/* oklch */ color: oklch(39.7% 0.190 301.8);
Tailwind
colors: {
  custom: {
    50: '#915fb8',
    500: '#5c1699',
    950: '#000000',
  },
}
SCSS
$custom: #5c1699;
$custom-light: #915fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1699",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 272.061,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.19029,
    "h": 301.8
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#5C1699
secondary
#81C546
accent
#F1368D
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5C1699

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

Preview Lab → · Contrast checker → · Palette generator →

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