#5E225A#5E225A

#5E225A is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.4% C 0.115 H 330.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#5E225A
RGBrgb(94, 34, 90)
HSLhsl(304, 47%, 25%)
HSVhsv(304, 64%, 37%)
CMYKcmyk(0%, 63.8%, 4.3%, 63.1%)
CIE-LABlab(24.52, 35.26, -20.74)
CIE-LCHlch(24.52, 40.91, 329.53°)
OKLaboklab(36.41% 0.0999 -0.0569)
OKLCHoklch(36.41% 0.115 330.3)
XYZxyz(7.0335, 4.2624, 10.1231)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E225A #225E26
analogous
#44225E #5E225A #5E223C
triadic
#5E225A #5A5E22 #225A5E
tetradic
#5E225A #5E4422 #225E26 #223C5E
square
#5E225A #5E4422 #225E26 #223C5E
split-complementary
#5E225A #3C5E22 #225E44
monochromatic
#160816 #31122F #5E225A #8B3285 #B843B0

Accessibility & contrast

On white

11.34
#5E225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E225A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E225A#FFFFFF#000000##FFFFFF
##5E225A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E355C
Deuteranopia (green-blind)
#323D58
Tritanopia (blue-blind)
#62283A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e225a;
/* rgb */ color: rgb(94, 34, 90);
/* oklch */ color: oklch(36.4% 0.115 330.3);
Tailwind
colors: {
  custom: {
    50: '#8e6189',
    500: '#5e225a',
    950: '#000000',
  },
}
SCSS
$custom: #5e225a;
$custom-light: #8e6189;
$custom-dark: #000000;
JSON
{
  "hex": "#5e225a",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 304,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.11497,
    "h": 330.3
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#5E225A
secondary
#4A924F
accent
#D75A51
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5E225A

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

Preview Lab → · Contrast checker → · Palette generator →

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