#5C1965#5C1965

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

Color values

HEX#5C1965
RGBrgb(92, 25, 101)
HSLhsl(293, 60%, 25%)
HSVhsv(293, 75%, 40%)
CMYKcmyk(8.9%, 75.2%, 0%, 60.4%)
CIE-LABlab(23.37, 40.96, -29.81)
CIE-LCHlch(23.37, 50.66, 323.96°)
OKLaboklab(35.73% 0.1093 -0.0832)
OKLCHoklch(35.73% 0.137 322.7)
XYZxyz(7.1100, 3.9106, 12.6897)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1965 #226519
analogous
#361965 #5C1965 #651948
triadic
#5C1965 #655C19 #19655C
tetradic
#5C1965 #653619 #226519 #194865
square
#5C1965 #653619 #226519 #194865
split-complementary
#5C1965 #486519 #196536
monochromatic
#160619 #2F0D34 #5C1965 #892596 #B531C7

Accessibility & contrast

On white

11.78
#5C1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1965
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1965#FFFFFF#000000##FFFFFF
##5C19651.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#5D273D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1965;
/* rgb */ color: rgb(92, 25, 101);
/* oklch */ color: oklch(35.7% 0.137 322.7);
Tailwind
colors: {
  custom: {
    50: '#8d5d91',
    500: '#5c1965',
    950: '#000000',
  },
}
SCSS
$custom: #5c1965;
$custom-light: #8d5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1965",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 292.895,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3573,
    "c": 0.13732,
    "h": 322.7
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#5C1965
secondary
#4A9B3F
accent
#E34457
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #5C1965

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

Preview Lab → · Contrast checker → · Palette generator →

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