#4E2249#4E2249

#4E2249 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.087 H 331.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4E2249
RGBrgb(78, 34, 73)
HSLhsl(307, 39%, 22%)
HSVhsv(307, 56%, 31%)
CMYKcmyk(0%, 56.4%, 6.4%, 69.4%)
CIE-LABlab(21.00, 26.82, -15.05)
CIE-LCHlch(21.00, 30.75, 330.70°)
OKLaboklab(33% 0.0764 -0.041)
OKLCHoklch(33% 0.087 331.8)
XYZxyz(4.9165, 3.2451, 6.6694)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2249 #224E27
analogous
#3D224E #4E2249 #4E2233
triadic
#4E2249 #494E22 #22494E
tetradic
#4E2249 #4E3D22 #224E27 #22334E
square
#4E2249 #4E3D22 #224E27 #22334E
split-complementary
#4E2249 #334E22 #224E3D
monochromatic
#150914 #230F21 #4E2249 #793571 #A34799

Accessibility & contrast

On white

12.73
#4E2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2249
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2249#FFFFFF#000000##FFFFFF
##4E22491.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4A
Deuteranopia (green-blind)
#2D3548
Tritanopia (blue-blind)
#512532
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2249;
/* rgb */ color: rgb(78, 34, 73);
/* oklch */ color: oklch(33.0% 0.087 331.8);
Tailwind
colors: {
  custom: {
    50: '#815f7c',
    500: '#4e2249',
    950: '#000000',
  },
}
SCSS
$custom: #4e2249;
$custom-light: #815f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2249",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 306.818,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.08674,
    "h": 331.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#4E2249
secondary
#4A8250
accent
#CF6659
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2249

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

Preview Lab → · Contrast checker → · Palette generator →

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