#4E225C#4E225C

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

Color values

HEX#4E225C
RGBrgb(78, 34, 92)
HSLhsl(286, 46%, 25%)
HSVhsv(286, 63%, 36%)
CMYKcmyk(15.2%, 63%, 0%, 63.9%)
CIE-LABlab(22.08, 30.96, -26.09)
CIE-LCHlch(22.08, 40.49, 319.88°)
OKLaboklab(34.14% 0.0789 -0.0729)
OKLCHoklch(34.14% 0.107 317.3)
XYZxyz(5.6454, 3.5367, 10.5084)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E225C #305C22
analogous
#31225C #4E225C #5C224D
triadic
#4E225C #5C4E22 #225C4E
tetradic
#4E225C #5C3122 #305C22 #224D5C
square
#4E225C #5C3122 #305C22 #224D5C
split-complementary
#4E225C #4D5C22 #225C31
monochromatic
#130816 #28112F #4E225C #743389 #9A43B5

Accessibility & contrast

On white

12.30
#4E225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E225C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E225C#FFFFFF#000000##FFFFFF
##4E225C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#24365B
Tritanopia (blue-blind)
#4E2C3B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e225c;
/* rgb */ color: rgb(78, 34, 92);
/* oklch */ color: oklch(34.1% 0.107 317.3);
Tailwind
colors: {
  custom: {
    50: '#81608a',
    500: '#4e225c',
    950: '#000000',
  },
}
SCSS
$custom: #4e225c;
$custom-light: #81608a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e225c",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 285.517,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.10741,
    "h": 317.3
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#4E225C
secondary
#5B904A
accent
#D65272
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E225C

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

Preview Lab → · Contrast checker → · Palette generator →

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