#4E225B#4E225B

#4E225B is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.106 H 317.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E225B
RGBrgb(78, 34, 91)
HSLhsl(286, 46%, 25%)
HSVhsv(286, 63%, 36%)
CMYKcmyk(14.3%, 62.6%, 0%, 64.3%)
CIE-LABlab(22.01, 30.73, -25.53)
CIE-LCHlch(22.01, 39.95, 320.28°)
OKLaboklab(34.08% 0.0789 -0.0712)
OKLCHoklch(34.08% 0.106 317.9)
XYZxyz(5.6020, 3.5193, 10.2797)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E225B #2F5B22
analogous
#32225B #4E225B #5B224C
triadic
#4E225B #5B4E22 #225B4E
tetradic
#4E225B #5B3222 #2F5B22 #224C5B
square
#4E225B #5B3222 #2F5B22 #224C5B
split-complementary
#4E225B #4C5B22 #225B32
monochromatic
#130816 #28112E #4E225B #743388 #9A43B4

Accessibility & contrast

On white

12.33
#4E225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E225B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E225B#FFFFFF#000000##FFFFFF
##4E225B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#4E2B3B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e225b;
/* rgb */ color: rgb(78, 34, 91);
/* oklch */ color: oklch(34.1% 0.106 317.9);
Tailwind
colors: {
  custom: {
    50: '#81608a',
    500: '#4e225b',
    950: '#000000',
  },
}
SCSS
$custom: #4e225b;
$custom-light: #81608a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e225b",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 286.316,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34076,
    "c": 0.10627,
    "h": 317.9
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#4E225B
secondary
#5A8F4A
accent
#D55370
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E225B

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

Preview Lab → · Contrast checker → · Palette generator →

#4E225B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva