#5C1468#5C1468

#5C1468 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.146 H 321.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#5C1468
RGBrgb(92, 20, 104)
HSLhsl(291, 68%, 24%)
HSVhsv(291, 81%, 41%)
CMYKcmyk(11.5%, 80.8%, 0%, 59.2%)
CIE-LABlab(22.91, 43.45, -32.50)
CIE-LCHlch(22.91, 54.26, 323.21°)
OKLaboklab(35.47% 0.1141 -0.091)
OKLCHoklch(35.47% 0.146 321.4)
XYZxyz(7.1622, 3.7755, 13.4455)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1468 #206814
analogous
#321468 #5C1468 #68144A
triadic
#5C1468 #685C14 #14685C
tetradic
#5C1468 #683214 #206814 #144A68
square
#5C1468 #683214 #206814 #144A68
split-complementary
#5C1468 #4A6814 #146832
monochromatic
#17051A #2F0A35 #5C1468 #891E9B #B728CF

Accessibility & contrast

On white

11.97
#5C1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1468
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1468#FFFFFF#000000##FFFFFF
##5C14681.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#5D253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1468;
/* rgb */ color: rgb(92, 20, 104);
/* oklch */ color: oklch(35.5% 0.146 321.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b94',
    500: '#5c1468',
    950: '#000000',
  },
}
SCSS
$custom: #5c1468;
$custom-light: #8d5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1468",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 291.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35468,
    "c": 0.14599,
    "h": 321.4
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#5C1468
secondary
#479F39
accent
#EB3D56
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1468

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

Preview Lab → · Contrast checker → · Palette generator →

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