#5C1964#5C1964

#5C1964 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.136 H 323.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5C1964
RGBrgb(92, 25, 100)
HSLhsl(294, 60%, 25%)
HSVhsv(294, 75%, 39%)
CMYKcmyk(8%, 75%, 0%, 60.8%)
CIE-LABlab(23.31, 40.76, -29.26)
CIE-LCHlch(23.31, 50.17, 324.33°)
OKLaboklab(35.66% 0.1093 -0.0816)
OKLCHoklch(35.66% 0.136 323.3)
XYZxyz(7.0613, 3.8911, 12.4332)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1964 #216419
analogous
#371964 #5C1964 #641947
triadic
#5C1964 #645C19 #19645C
tetradic
#5C1964 #643719 #216419 #194764
square
#5C1964 #643719 #216419 #194764
split-complementary
#5C1964 #476419 #196437
monochromatic
#170618 #2F0D33 #5C1964 #892595 #B631C6

Accessibility & contrast

On white

11.81
#5C1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5C1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1964
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1964#FFFFFF#000000##FFFFFF
##5C19641.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013366
Deuteranopia (green-blind)
#253A62
Tritanopia (blue-blind)
#5E263D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1964;
/* rgb */ color: rgb(92, 25, 100);
/* oklch */ color: oklch(35.7% 0.136 323.3);
Tailwind
colors: {
  custom: {
    50: '#8d5d90',
    500: '#5c1964',
    950: '#000000',
  },
}
SCSS
$custom: #5c1964;
$custom-light: #8d5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1964",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 293.6,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.13639,
    "h": 323.3
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#5C1964
secondary
#499A3F
accent
#E34556
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1964

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

Preview Lab → · Contrast checker → · Palette generator →

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