#4E225A#4E225A

#4E225A is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.105 H 318.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#4E225A
RGBrgb(78, 34, 90)
HSLhsl(287, 45%, 24%)
HSVhsv(287, 62%, 35%)
CMYKcmyk(13.3%, 62.2%, 0%, 64.7%)
CIE-LABlab(21.95, 30.50, -24.96)
CIE-LCHlch(21.95, 39.41, 320.70°)
OKLaboklab(34.01% 0.0788 -0.0696)
OKLCHoklch(34.01% 0.105 318.6)
XYZxyz(5.5591, 3.5022, 10.0540)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E225A #2E5A22
analogous
#32225A #4E225A #5A224A
triadic
#4E225A #5A4E22 #225A4E
tetradic
#4E225A #5A3222 #2E5A22 #224A5A
square
#4E225A #5A3222 #2E5A22 #224A5A
split-complementary
#4E225A #4A5A22 #225A32
monochromatic
#130816 #28112E #4E225A #743386 #9B44B3

Accessibility & contrast

On white

12.35
#4E225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E225A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E225A#FFFFFF#000000##FFFFFF
##4E225A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#253659
Tritanopia (blue-blind)
#4E2B3A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e225a;
/* rgb */ color: rgb(78, 34, 90);
/* oklch */ color: oklch(34.0% 0.105 318.6);
Tailwind
colors: {
  custom: {
    50: '#816089',
    500: '#4e225a',
    950: '#000000',
  },
}
SCSS
$custom: #4e225a;
$custom-light: #816089;
$custom-dark: #000000;
JSON
{
  "hex": "#4e225a",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 287.143,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.10513,
    "h": 318.6
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#4E225A
secondary
#588E4A
accent
#D5536F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E225A

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

Preview Lab → · Contrast checker → · Palette generator →

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