#5D2267#5D2267

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

Color values

HEX#5D2267
RGBrgb(93, 34, 103)
HSLhsl(291, 50%, 27%)
HSVhsv(291, 67%, 40%)
CMYKcmyk(9.7%, 67%, 0%, 59.6%)
CIE-LABlab(25.11, 37.59, -28.33)
CIE-LCHlch(25.11, 47.07, 322.99°)
OKLaboklab(37.05% 0.0996 -0.0789)
OKLCHoklch(37.05% 0.127 321.6)
XYZxyz(7.5341, 4.4509, 13.2916)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2267 #2C6722
analogous
#3B2267 #5D2267 #67224F
triadic
#5D2267 #675D22 #22675D
tetradic
#5D2267 #673B22 #2C6722 #224F67
square
#5D2267 #673B22 #2C6722 #224F67
split-complementary
#5D2267 #4F6722 #22673B
monochromatic
#150817 #331339 #5D2267 #873195 #AF43C1

Accessibility & contrast

On white

11.11
#5D2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2267
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2267#FFFFFF#000000##FFFFFF
##5D22671.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113769
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#5E2D41
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d2267;
/* rgb */ color: rgb(93, 34, 103);
/* oklch */ color: oklch(37.1% 0.127 321.6);
Tailwind
colors: {
  custom: {
    50: '#8d6293',
    500: '#5d2267',
    950: '#000000',
  },
}
SCSS
$custom: #5d2267;
$custom-light: #8d6293;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2267",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 291.304,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37053,
    "c": 0.12707,
    "h": 321.6
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#5D2267
secondary
#569B4A
accent
#DA4E62
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #5D2267

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

Preview Lab → · Contrast checker → · Palette generator →

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