#4E1247#4E1247

#4E1247 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.112 H 333.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#4E1247
RGBrgb(78, 18, 71)
HSLhsl(307, 63%, 19%)
HSVhsv(307, 77%, 31%)
CMYKcmyk(0%, 76.9%, 9%, 69.4%)
CIE-LABlab(17.95, 34.47, -18.43)
CIE-LCHlch(17.95, 39.09, 331.86°)
OKLaboklab(30.74% 0.0994 -0.0505)
OKLCHoklch(30.74% 0.112 333.1)
XYZxyz(4.4955, 2.5076, 6.2073)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1247 #124E19
analogous
#37124E #4E1247 #4E1229
triadic
#4E1247 #474E12 #12474E
tetradic
#4E1247 #4E3712 #124E19 #12294E
square
#4E1247 #4E3712 #124E19 #12294E
split-complementary
#4E1247 #294E12 #124E37
monochromatic
#190617 #1C071A #4E1247 #801D74 #B129A2

Accessibility & contrast

On white

13.99
#4E1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1247
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1247#FFFFFF#000000##FFFFFF
##4E12471.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102648
Deuteranopia (green-blind)
#252F46
Tritanopia (blue-blind)
#52182B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1247;
/* rgb */ color: rgb(78, 18, 71);
/* oklch */ color: oklch(30.7% 0.112 333.1);
Tailwind
colors: {
  custom: {
    50: '#82567a',
    500: '#4e1247',
    950: '#000000',
  },
}
SCSS
$custom: #4e1247;
$custom-light: #82567a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1247",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 307,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30737,
    "c": 0.11154,
    "h": 333.1
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#4E1247
secondary
#35873E
accent
#E65542
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1247

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

Preview Lab → · Contrast checker → · Palette generator →

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