#4E225D#4E225D

#4E225D is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.109 H 316.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#4E225D
RGBrgb(78, 34, 93)
HSLhsl(285, 46%, 25%)
HSVhsv(285, 63%, 36%)
CMYKcmyk(16.1%, 63.4%, 0%, 63.5%)
CIE-LABlab(22.14, 31.19, -26.65)
CIE-LCHlch(22.14, 41.03, 319.49°)
OKLaboklab(34.21% 0.079 -0.0745)
OKLCHoklch(34.21% 0.109 316.7)
XYZxyz(5.6894, 3.5543, 10.7402)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E225D #315D22
analogous
#31225D #4E225D #5D224E
triadic
#4E225D #5D4E22 #225D4E
tetradic
#4E225D #5D3122 #315D22 #224E5D
square
#4E225D #5D3122 #315D22 #224E5D
split-complementary
#4E225D #4E5D22 #225D31
monochromatic
#130816 #281230 #4E225D #74328A #9943B7

Accessibility & contrast

On white

12.27
#4E225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E225D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E225D#FFFFFF#000000##FFFFFF
##4E225D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#23365C
Tritanopia (blue-blind)
#4D2C3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e225d;
/* rgb */ color: rgb(78, 34, 93);
/* oklch */ color: oklch(34.2% 0.109 316.7);
Tailwind
colors: {
  custom: {
    50: '#82608b',
    500: '#4e225d',
    950: '#000000',
  },
}
SCSS
$custom: #4e225d;
$custom-light: #82608b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e225d",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 284.746,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.10856,
    "h": 316.7
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#4E225D
secondary
#5C914A
accent
#D65273
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E225D

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

Preview Lab → · Contrast checker → · Palette generator →

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