#5C296A#5C296A

#5C296A is a dark, moderate purple. Relative luminance 0.049; OKLCH L 38.1% C 0.118 H 318.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#5C296A
RGBrgb(92, 41, 106)
HSLhsl(287, 44%, 29%)
HSVhsv(287, 61%, 42%)
CMYKcmyk(13.2%, 61.3%, 0%, 58.4%)
CIE-LABlab(26.45, 34.36, -28.15)
CIE-LCHlch(26.45, 44.42, 320.67°)
OKLaboklab(38.06% 0.0887 -0.0785)
OKLCHoklch(38.06% 0.118 318.5)
XYZxyz(7.8077, 4.9021, 14.1678)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C296A #376A29
analogous
#3C296A #5C296A #6A2958
triadic
#5C296A #6A5C29 #296A5C
tetradic
#5C296A #6A3C29 #376A29 #29586A
square
#5C296A #6A3C29 #376A29 #29586A
split-complementary
#5C296A #586A29 #296A3C
monochromatic
#130916 #36183E #5C296A #823A96 #A552BC

Accessibility & contrast

On white

10.60
#5C296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5C296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C296A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C296A#FFFFFF#000000##FFFFFF
##5C296A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#5C3345
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c296a;
/* rgb */ color: rgb(92, 41, 106);
/* oklch */ color: oklch(38.1% 0.118 318.5);
Tailwind
colors: {
  custom: {
    50: '#8c6695',
    500: '#5c296a',
    950: '#000000',
  },
}
SCSS
$custom: #5c296a;
$custom-light: #8c6695;
$custom-dark: #000000;
JSON
{
  "hex": "#5c296a",
  "rgb": {
    "r": 92,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 287.077,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.11844,
    "h": 318.5
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#5C296A
secondary
#629C52
accent
#D4546F
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5C296A

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

Preview Lab → · Contrast checker → · Palette generator →

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