#5C1463#5C1463

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

Color values

HEX#5C1463
RGBrgb(92, 20, 99)
HSLhsl(295, 66%, 23%)
HSVhsv(295, 80%, 39%)
CMYKcmyk(7.1%, 79.8%, 0%, 61.2%)
CIE-LABlab(22.57, 42.47, -29.77)
CIE-LCHlch(22.57, 51.87, 324.97°)
OKLaboklab(35.12% 0.1146 -0.0831)
OKLCHoklch(35.12% 0.142 324.1)
XYZxyz(6.9157, 3.6769, 12.1474)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1463 #1B6314
analogous
#341463 #5C1463 #631442
triadic
#5C1463 #635C14 #14635C
tetradic
#5C1463 #633414 #1B6314 #144263
square
#5C1463 #633414 #1B6314 #144263
split-complementary
#5C1463 #426314 #146334
monochromatic
#180519 #2D0A30 #5C1463 #8B1E96 #BB29C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1463#FFFFFF#000000##FFFFFF
##5C14631.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)
#003165
Deuteranopia (green-blind)
#233961
Tritanopia (blue-blind)
#5E233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1463;
/* rgb */ color: rgb(92, 20, 99);
/* oklch */ color: oklch(35.1% 0.142 324.1);
Tailwind
colors: {
  custom: {
    50: '#8d5b90',
    500: '#5c1463',
    950: '#000000',
  },
}
SCSS
$custom: #5c1463;
$custom-light: #8d5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1463",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 294.684,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35116,
    "c": 0.14151,
    "h": 324.1
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#5C1463
secondary
#419A38
accent
#E93E4E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1463

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

Preview Lab → · Contrast checker → · Palette generator →

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