#5C236A#5C236A

#5C236A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.2% C 0.128 H 319.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5C236A
RGBrgb(92, 35, 106)
HSLhsl(288, 50%, 28%)
HSVhsv(288, 67%, 42%)
CMYKcmyk(13.2%, 67%, 0%, 58.4%)
CIE-LABlab(25.32, 37.47, -29.96)
CIE-LCHlch(25.32, 47.98, 321.36°)
OKLaboklab(37.23% 0.097 -0.0837)
OKLCHoklch(37.23% 0.128 319.2)
XYZxyz(7.6158, 4.5183, 14.1038)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C236A #316A23
analogous
#38236A #5C236A #6A2354
triadic
#5C236A #6A5C23 #236A5C
tetradic
#5C236A #6A3823 #316A23 #23546A
square
#5C236A #6A3823 #316A23 #23546A
split-complementary
#5C236A #546A23 #236A38
monochromatic
#140817 #34143C #5C236A #843298 #A946C2

Accessibility & contrast

On white

11.03
#5C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5C236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C236A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C236A#FFFFFF#000000##FFFFFF
##5C236A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#283E68
Tritanopia (blue-blind)
#5C2F43
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c236a;
/* rgb */ color: rgb(92, 35, 106);
/* oklch */ color: oklch(37.2% 0.128 319.2);
Tailwind
colors: {
  custom: {
    50: '#8d6295',
    500: '#5c236a',
    950: '#000000',
  },
}
SCSS
$custom: #5c236a;
$custom-light: #8d6295;
$custom-dark: #000000;
JSON
{
  "hex": "#5c236a",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 288.169,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.12811,
    "h": 319.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#5C236A
secondary
#5C9D4B
accent
#DA4E6A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #5C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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