#5C3071#5C3071

#5C3071 is a dark, moderate purple. Relative luminance 0.056; OKLCH L 39.6% C 0.115 H 313.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#5C3071
RGBrgb(92, 48, 113)
HSLhsl(281, 40%, 32%)
HSVhsv(281, 58%, 44%)
CMYKcmyk(18.6%, 57.5%, 0%, 55.7%)
CIE-LABlab(28.33, 32.08, -29.66)
CIE-LCHlch(28.33, 43.69, 317.25°)
OKLaboklab(39.57% 0.079 -0.0829)
OKLCHoklch(39.57% 0.115 313.6)
XYZxyz(8.4507, 5.5817, 16.2518)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3071 #457130
analogous
#3C3071 #5C3071 #713066
triadic
#5C3071 #715C30 #30715C
tetradic
#5C3071 #713C30 #457130 #306671
square
#5C3071 #713C30 #457130 #306671
split-complementary
#5C3071 #667130 #30713C
monochromatic
#160C1B #391E46 #5C3071 #7F429C #9E60BB

Accessibility & contrast

On white

9.92
#5C3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5C3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3071
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3071#FFFFFF#000000##FFFFFF
##5C30711.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#2E446F
Tritanopia (blue-blind)
#5A3B4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c3071;
/* rgb */ color: rgb(92, 48, 113);
/* oklch */ color: oklch(39.6% 0.115 313.6);
Tailwind
colors: {
  custom: {
    50: '#8c6a9a',
    500: '#5c3071',
    950: '#000000',
  },
}
SCSS
$custom: #5c3071;
$custom-light: #8c6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3071",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 280.615,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.11451,
    "h": 313.6
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#5C3071
secondary
#72A25B
accent
#D0587F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C3071

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

Preview Lab → · Contrast checker → · Palette generator →

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