#5C1967#5C1967

#5C1967 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.139 H 321.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5C1967
RGBrgb(92, 25, 103)
HSLhsl(292, 61%, 25%)
HSVhsv(292, 76%, 40%)
CMYKcmyk(10.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(23.51, 41.37, -30.90)
CIE-LCHlch(23.51, 51.63, 323.24°)
OKLaboklab(35.87% 0.1092 -0.0864)
OKLCHoklch(35.87% 0.139 321.6)
XYZxyz(7.2092, 3.9502, 13.2121)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1967 #246719
analogous
#351967 #5C1967 #67194B
triadic
#5C1967 #675C19 #19675C
tetradic
#5C1967 #673519 #246719 #194B67
square
#5C1967 #673519 #246719 #194B67
split-complementary
#5C1967 #4B6719 #196735
monochromatic
#160619 #300D36 #5C1967 #882598 #B431C9

Accessibility & contrast

On white

11.73
#5C1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1967
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1967#FFFFFF#000000##FFFFFF
##5C19671.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#5D273E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1967;
/* rgb */ color: rgb(92, 25, 103);
/* oklch */ color: oklch(35.9% 0.139 321.6);
Tailwind
colors: {
  custom: {
    50: '#8d5d93',
    500: '#5c1967',
    950: '#000000',
  },
}
SCSS
$custom: #5c1967;
$custom-light: #8d5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1967",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 291.538,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.1392,
    "h": 321.6
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#5C1967
secondary
#4C9D3F
accent
#E4445A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C1967

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

Preview Lab → · Contrast checker → · Palette generator →

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