#5C2273#5C2273

#5C2273 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.7% C 0.139 H 314.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#5C2273
RGBrgb(92, 34, 115)
HSLhsl(283, 54%, 29%)
HSVhsv(283, 70%, 45%)
CMYKcmyk(20%, 70.4%, 0%, 54.9%)
CIE-LABlab(25.74, 39.95, -35.08)
CIE-LCHlch(25.74, 53.17, 318.72°)
OKLaboklab(37.72% 0.0979 -0.0987)
OKLCHoklch(37.72% 0.139 314.8)
XYZxyz(8.0797, 4.6574, 16.6897)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2273 #397322
analogous
#342273 #5C2273 #732262
triadic
#5C2273 #735C22 #22735C
tetradic
#5C2273 #733422 #397322 #226273
square
#5C2273 #733422 #397322 #226273
split-complementary
#5C2273 #627322 #227334
monochromatic
#130718 #361444 #5C2273 #8230A2 #A447C9

Accessibility & contrast

On white

10.87
#5C2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5C2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2273
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2273#FFFFFF#000000##FFFFFF
##5C22731.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#5A3247
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c2273;
/* rgb */ color: rgb(92, 34, 115);
/* oklch */ color: oklch(37.7% 0.139 314.8);
Tailwind
colors: {
  custom: {
    50: '#8d629c',
    500: '#5c2273',
    950: '#000000',
  },
}
SCSS
$custom: #5c2273;
$custom-light: #8d629c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2273",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 282.963,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.13903,
    "h": 314.8
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#5C2273
secondary
#65A64B
accent
#DE4A74
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #5C2273

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

Preview Lab → · Contrast checker → · Palette generator →

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