#5C169F#5C169F

#5C169F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.196 H 300.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#5C169F
RGBrgb(92, 22, 159)
HSLhsl(271, 76%, 35%)
HSVhsv(271, 86%, 62%)
CMYKcmyk(42.1%, 86.2%, 0%, 37.6%)
CIE-LABlab(27.72, 54.92, -59.31)
CIE-LCHlch(27.72, 80.83, 312.80°)
OKLaboklab(40.24% 0.0982 -0.1697)
OKLCHoklch(40.24% 0.196 300)
XYZxyz(10.9570, 5.3522, 33.2500)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C169F #599F16
analogous
#17169F #5C169F #9F169D
triadic
#5C169F #9F5C16 #169F5C
tetradic
#5C169F #9F1716 #599F16 #169D9F
square
#5C169F #9F1716 #599F16 #169D9F
split-complementary
#5C169F #9D9F16 #169F17
monochromatic
#1E0733 #3D0F69 #5C169F #7B1DD5 #994AE6

Accessibility & contrast

On white

10.14
#5C169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5C169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C169F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C169F#FFFFFF#000000##FFFFFF
##5C169F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#4C3F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c169f;
/* rgb */ color: rgb(92, 22, 159);
/* oklch */ color: oklch(40.2% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#925fbc',
    500: '#5c169f',
    950: '#000000',
  },
}
SCSS
$custom: #5c169f;
$custom-light: #925fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c169f",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 270.657,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.19608,
    "h": 300
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#5C169F
secondary
#87C74A
accent
#F23692
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5C169F

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

Preview Lab → · Contrast checker → · Palette generator →

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