#5C2F72#5C2F72

#5C2F72 is a dark, moderate purple. Relative luminance 0.055; OKLCH L 39.5% C 0.117 H 313.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#5C2F72
RGBrgb(92, 47, 114)
HSLhsl(280, 42%, 32%)
HSVhsv(280, 59%, 45%)
CMYKcmyk(19.3%, 58.8%, 0%, 55.3%)
CIE-LABlab(28.18, 32.89, -30.54)
CIE-LCHlch(28.18, 44.88, 317.12°)
OKLaboklab(39.47% 0.0805 -0.0855)
OKLCHoklch(39.47% 0.117 313.3)
XYZxyz(8.4669, 5.5235, 16.5364)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2F72 #45722F
analogous
#3B2F72 #5C2F72 #722F67
triadic
#5C2F72 #725C2F #2F725C
tetradic
#5C2F72 #723B2F #45722F #2F6772
square
#5C2F72 #723B2F #45722F #2F6772
split-complementary
#5C2F72 #67722F #2F723B
monochromatic
#160B1B #391D47 #5C2F72 #7F419D #9E5FBD

Accessibility & contrast

On white

9.98
#5C2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5C2F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2F72
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2F72#FFFFFF#000000##FFFFFF
##5C2F721.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#2C4470
Tritanopia (blue-blind)
#5A3A4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2f72;
/* rgb */ color: rgb(92, 47, 114);
/* oklch */ color: oklch(39.5% 0.117 313.3);
Tailwind
colors: {
  custom: {
    50: '#8c6a9b',
    500: '#5c2f72',
    950: '#000000',
  },
}
SCSS
$custom: #5c2f72;
$custom-light: #8c6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2f72",
  "rgb": {
    "r": 92,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 280.299,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.11743,
    "h": 313.3
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#5C2F72
secondary
#72A35A
accent
#D1567F
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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