#5C2267#5C2267

#5C2267 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.9% C 0.127 H 320.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#5C2267
RGBrgb(92, 34, 103)
HSLhsl(290, 50%, 27%)
HSVhsv(290, 67%, 40%)
CMYKcmyk(10.7%, 67%, 0%, 59.6%)
CIE-LABlab(24.95, 37.32, -28.60)
CIE-LCHlch(24.95, 47.02, 322.54°)
OKLaboklab(36.9% 0.0983 -0.0797)
OKLCHoklch(36.9% 0.127 320.9)
XYZxyz(7.4336, 4.3990, 13.2869)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2267 #2D6722
analogous
#3A2267 #5C2267 #672250
triadic
#5C2267 #675C22 #22675C
tetradic
#5C2267 #673A22 #2D6722 #225067
square
#5C2267 #673A22 #2D6722 #225067
split-complementary
#5C2267 #506722 #22673A
monochromatic
#150817 #331339 #5C2267 #853195 #AD43C1

Accessibility & contrast

On white

11.17
#5C2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5C2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2267
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2267#FFFFFF#000000##FFFFFF
##5C22671.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103769
Deuteranopia (green-blind)
#293D65
Tritanopia (blue-blind)
#5D2D41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c2267;
/* rgb */ color: rgb(92, 34, 103);
/* oklch */ color: oklch(36.9% 0.127 320.9);
Tailwind
colors: {
  custom: {
    50: '#8c6293',
    500: '#5c2267',
    950: '#000000',
  },
}
SCSS
$custom: #5c2267;
$custom-light: #8c6293;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2267",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 290.435,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.12654,
    "h": 320.9
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#5C2267
secondary
#579B4A
accent
#DA4E64
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5C2267

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

Preview Lab → · Contrast checker → · Palette generator →

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