#5C1365#5C1365

#5C1365 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.144 H 323.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#5C1365
RGBrgb(92, 19, 101)
HSLhsl(293, 68%, 24%)
HSVhsv(293, 81%, 40%)
CMYKcmyk(8.9%, 81.2%, 0%, 60.4%)
CIE-LABlab(22.59, 43.21, -31.06)
CIE-LCHlch(22.59, 53.22, 324.29°)
OKLaboklab(35.17% 0.1154 -0.0868)
OKLCHoklch(35.17% 0.144 323)
XYZxyz(6.9952, 3.6811, 12.6515)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1365 #1C6513
analogous
#331365 #5C1365 #651345
triadic
#5C1365 #655C13 #13655C
tetradic
#5C1365 #653313 #1C6513 #134565
square
#5C1365 #653313 #1C6513 #134565
split-complementary
#5C1365 #456513 #136533
monochromatic
#17051A #2D0931 #5C1365 #8B1D99 #BA26CC

Accessibility & contrast

On white

12.10
#5C1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5C1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1365
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1365#FFFFFF#000000##FFFFFF
##5C13651.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#213963
Tritanopia (blue-blind)
#5D233C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1365;
/* rgb */ color: rgb(92, 19, 101);
/* oklch */ color: oklch(35.2% 0.144 323.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a91',
    500: '#5c1365',
    950: '#000000',
  },
}
SCSS
$custom: #5c1365;
$custom-light: #8d5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1365",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 293.415,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3517,
    "c": 0.14438,
    "h": 323
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#5C1365
secondary
#429D37
accent
#EB3D50
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1365

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

Preview Lab → · Contrast checker → · Palette generator →

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