#4E2248#4E2248

#4E2248 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.086 H 332.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2248
RGBrgb(78, 34, 72)
HSLhsl(308, 39%, 22%)
HSVhsv(308, 56%, 31%)
CMYKcmyk(0%, 56.4%, 7.7%, 69.4%)
CIE-LABlab(20.95, 26.61, -14.44)
CIE-LCHlch(20.95, 30.28, 331.51°)
OKLaboklab(32.95% 0.0762 -0.0393)
OKLCHoklch(32.95% 0.086 332.7)
XYZxyz(4.8836, 3.2320, 6.4962)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2248 #224E28
analogous
#3E224E #4E2248 #4E2232
triadic
#4E2248 #484E22 #22484E
tetradic
#4E2248 #4E3E22 #224E28 #22324E
square
#4E2248 #4E3E22 #224E28 #22324E
split-complementary
#4E2248 #324E22 #224E3E
monochromatic
#150914 #230F21 #4E2248 #79356F #A34797

Accessibility & contrast

On white

12.76
#4E2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2248
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2248#FFFFFF#000000##FFFFFF
##4E22481.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E49
Deuteranopia (green-blind)
#2E3547
Tritanopia (blue-blind)
#512531
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2248;
/* rgb */ color: rgb(78, 34, 72);
/* oklch */ color: oklch(32.9% 0.086 332.7);
Tailwind
colors: {
  custom: {
    50: '#815f7b',
    500: '#4e2248',
    950: '#000000',
  },
}
SCSS
$custom: #4e2248;
$custom-light: #815f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2248",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 308.182,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32947,
    "c": 0.08575,
    "h": 332.7
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#4E2248
secondary
#4A8252
accent
#CF6959
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2248

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

Preview Lab → · Contrast checker → · Palette generator →

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