#4E1147#4E1147

#4E1147 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.113 H 333.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#4E1147
RGBrgb(78, 17, 71)
HSLhsl(307, 64%, 19%)
HSVhsv(307, 78%, 31%)
CMYKcmyk(0%, 78.2%, 9%, 69.4%)
CIE-LABlab(17.81, 34.88, -18.66)
CIE-LCHlch(17.81, 39.56, 331.85°)
OKLaboklab(30.63% 0.1006 -0.0512)
OKLCHoklch(30.63% 0.113 333)
XYZxyz(4.4797, 2.4759, 6.2020)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1147 #114E18
analogous
#36114E #4E1147 #4E1128
triadic
#4E1147 #474E11 #11474E
tetradic
#4E1147 #4E3611 #114E18 #11284E
square
#4E1147 #4E3611 #114E18 #11284E
split-complementary
#4E1147 #284E11 #114E36
monochromatic
#190517 #1C0619 #4E1147 #801C75 #B227A2

Accessibility & contrast

On white

14.04
#4E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1147
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1147#FFFFFF#000000##FFFFFF
##4E11471.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2649
Deuteranopia (green-blind)
#252F46
Tritanopia (blue-blind)
#52172A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1147;
/* rgb */ color: rgb(78, 17, 71);
/* oklch */ color: oklch(30.6% 0.113 333.0);
Tailwind
colors: {
  custom: {
    50: '#82567a',
    500: '#4e1147',
    950: '#000000',
  },
}
SCSS
$custom: #4e1147;
$custom-light: #82567a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1147",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 306.885,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30634,
    "c": 0.11289,
    "h": 333
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#4E1147
secondary
#33873D
accent
#E75441
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1147

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

Preview Lab → · Contrast checker → · Palette generator →

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