#4E2247#4E2247

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

Color values

HEX#4E2247
RGBrgb(78, 34, 71)
HSLhsl(310, 39%, 22%)
HSVhsv(310, 56%, 31%)
CMYKcmyk(0%, 56.4%, 9%, 69.4%)
CIE-LABlab(20.90, 26.42, -13.84)
CIE-LCHlch(20.90, 29.82, 332.35°)
OKLaboklab(32.9% 0.076 -0.0376)
OKLCHoklch(32.9% 0.085 333.7)
XYZxyz(4.8512, 3.2190, 6.3258)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2247 #224E29
analogous
#3F224E #4E2247 #4E2231
triadic
#4E2247 #474E22 #22474E
tetradic
#4E2247 #4E3F22 #224E29 #22314E
square
#4E2247 #4E3F22 #224E29 #22314E
split-complementary
#4E2247 #314E22 #224E3F
monochromatic
#150913 #230F20 #4E2247 #79356E #A34795

Accessibility & contrast

On white

12.78
#4E2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2247
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2247#FFFFFF#000000##FFFFFF
##4E22471.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2247;
/* rgb */ color: rgb(78, 34, 71);
/* oklch */ color: oklch(32.9% 0.085 333.7);
Tailwind
colors: {
  custom: {
    50: '#815f7a',
    500: '#4e2247',
    950: '#000000',
  },
}
SCSS
$custom: #4e2247;
$custom-light: #815f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2247",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 309.545,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.08476,
    "h": 333.7
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#4E2247
secondary
#4A8253
accent
#CF6B59
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2247

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

Preview Lab → · Contrast checker → · Palette generator →

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