#5C226A#5C226A

#5C226A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.1% C 0.130 H 319.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#5C226A
RGBrgb(92, 34, 106)
HSLhsl(288, 51%, 27%)
HSVhsv(288, 68%, 42%)
CMYKcmyk(13.2%, 67.9%, 0%, 58.4%)
CIE-LABlab(25.14, 37.96, -30.24)
CIE-LCHlch(25.14, 48.54, 321.46°)
OKLaboklab(37.1% 0.0983 -0.0845)
OKLCHoklch(37.1% 0.13 319.3)
XYZxyz(7.5868, 4.4603, 14.0942)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C226A #306A22
analogous
#38226A #5C226A #6A2254
triadic
#5C226A #6A5C22 #226A5C
tetradic
#5C226A #6A3822 #306A22 #22546A
square
#5C226A #6A3822 #306A22 #22546A
split-complementary
#5C226A #546A22 #226A38
monochromatic
#140717 #34133C #5C226A #843198 #AA44C3

Accessibility & contrast

On white

11.10
#5C226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C226A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C226A#FFFFFF#000000##FFFFFF
##5C226A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386C
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#5C2E43
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c226a;
/* rgb */ color: rgb(92, 34, 106);
/* oklch */ color: oklch(37.1% 0.130 319.3);
Tailwind
colors: {
  custom: {
    50: '#8d6295',
    500: '#5c226a',
    950: '#000000',
  },
}
SCSS
$custom: #5c226a;
$custom-light: #8d6295;
$custom-dark: #000000;
JSON
{
  "hex": "#5c226a",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 288.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.12962,
    "h": 319.3
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#5C226A
secondary
#5A9E4A
accent
#DB4D69
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C226A

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

Preview Lab → · Contrast checker → · Palette generator →

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