#5C1674#5C1674

#5C1674 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.155 H 315.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5C1674
RGBrgb(92, 22, 116)
HSLhsl(285, 68%, 27%)
HSVhsv(285, 81%, 45%)
CMYKcmyk(20.7%, 81%, 0%, 54.5%)
CIE-LABlab(24.03, 45.21, -38.46)
CIE-LCHlch(24.03, 59.36, 319.61°)
OKLaboklab(36.54% 0.1106 -0.1085)
OKLCHoklch(36.54% 0.155 315.5)
XYZxyz(7.8524, 4.1104, 16.8994)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1674 #2E7416
analogous
#2D1674 #5C1674 #74165D
triadic
#5C1674 #745C16 #16745C
tetradic
#5C1674 #742D16 #2E7416 #165D74
square
#5C1674 #742D16 #2E7416 #165D74
split-complementary
#5C1674 #5D7416 #16742D
monochromatic
#14051A #330C41 #5C1674 #8520A7 #AC2DD7

Accessibility & contrast

On white

11.53
#5C1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1674
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1674#FFFFFF#000000##FFFFFF
##5C16741.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#133B72
Tritanopia (blue-blind)
#5A2C45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1674;
/* rgb */ color: rgb(92, 22, 116);
/* oklch */ color: oklch(36.5% 0.155 315.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c9d',
    500: '#5c1674',
    950: '#000000',
  },
}
SCSS
$custom: #5c1674;
$custom-light: #8e5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1674",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 284.681,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.15491,
    "h": 315.5
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#5C1674
secondary
#58AA3C
accent
#EB3D69
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1674

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

Preview Lab → · Contrast checker → · Palette generator →

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