#5C1465#5C1465

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

Color values

HEX#5C1465
RGBrgb(92, 20, 101)
HSLhsl(293, 67%, 24%)
HSVhsv(293, 80%, 40%)
CMYKcmyk(8.9%, 80.2%, 0%, 60.4%)
CIE-LABlab(22.71, 42.86, -30.87)
CIE-LCHlch(22.71, 52.82, 324.24°)
OKLaboklab(35.26% 0.1144 -0.0863)
OKLCHoklch(35.26% 0.143 323)
XYZxyz(7.0125, 3.7156, 12.6572)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1465 #1D6514
analogous
#331465 #5C1465 #651445
triadic
#5C1465 #655C14 #14655C
tetradic
#5C1465 #653314 #1D6514 #144565
square
#5C1465 #653314 #1D6514 #144565
split-complementary
#5C1465 #456514 #146533
monochromatic
#17051A #2D0A32 #5C1465 #8B1E98 #B928CB

Accessibility & contrast

On white

12.05
#5C1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1465
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1465#FFFFFF#000000##FFFFFF
##5C14651.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1465;
/* rgb */ color: rgb(92, 20, 101);
/* oklch */ color: oklch(35.3% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#8d5b91',
    500: '#5c1465',
    950: '#000000',
  },
}
SCSS
$custom: #5c1465;
$custom-light: #8d5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1465",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 293.333,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.14329,
    "h": 323
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#5C1465
secondary
#449C39
accent
#EA3E51
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1465

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

Preview Lab → · Contrast checker → · Palette generator →

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