#5C1675#5C1675

#5C1675 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.156 H 315.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#5C1675
RGBrgb(92, 22, 117)
HSLhsl(284, 68%, 27%)
HSVhsv(284, 81%, 46%)
CMYKcmyk(21.4%, 81.2%, 0%, 54.1%)
CIE-LABlab(24.11, 45.42, -38.98)
CIE-LCHlch(24.11, 59.85, 319.37°)
OKLaboklab(36.61% 0.1104 -0.11)
OKLCHoklch(36.61% 0.156 315.1)
XYZxyz(7.9109, 4.1338, 17.2074)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1675 #2F7516
analogous
#2D1675 #5C1675 #75165E
triadic
#5C1675 #755C16 #16755C
tetradic
#5C1675 #752D16 #2F7516 #165E75
square
#5C1675 #752D16 #2F7516 #165E75
split-complementary
#5C1675 #5E7516 #16752D
monochromatic
#14051A #330C41 #5C1675 #8520A9 #AB2ED8

Accessibility & contrast

On white

11.50
#5C1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5C1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1675
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1675#FFFFFF#000000##FFFFFF
##5C16751.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#113B73
Tritanopia (blue-blind)
#5A2C45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1675;
/* rgb */ color: rgb(92, 22, 117);
/* oklch */ color: oklch(36.6% 0.156 315.1);
Tailwind
colors: {
  custom: {
    50: '#8e5d9d',
    500: '#5c1675',
    950: '#000000',
  },
}
SCSS
$custom: #5c1675;
$custom-light: #8e5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1675",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 284.211,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.15585,
    "h": 315.1
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#5C1675
secondary
#59AB3C
accent
#EB3D6B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1675

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

Preview Lab → · Contrast checker → · Palette generator →

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