#4E1149#4E1149

#4E1149 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.115 H 331.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1149
RGBrgb(78, 17, 73)
HSLhsl(305, 64%, 19%)
HSVhsv(305, 78%, 31%)
CMYKcmyk(0%, 78.2%, 6.4%, 69.4%)
CIE-LABlab(17.93, 35.24, -19.85)
CIE-LCHlch(17.93, 40.45, 330.61°)
OKLaboklab(30.76% 0.1008 -0.0546)
OKLCHoklch(30.76% 0.115 331.5)
XYZxyz(4.5449, 2.5020, 6.5456)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1149 #114E16
analogous
#34114E #4E1149 #4E112A
triadic
#4E1149 #494E11 #11494E
tetradic
#4E1149 #4E3411 #114E16 #112A4E
square
#4E1149 #4E3411 #114E16 #112A4E
split-complementary
#4E1149 #2A4E11 #114E34
monochromatic
#190518 #1C061A #4E1149 #801C78 #B227A7

Accessibility & contrast

On white

14.00
#4E1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1149
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1149#FFFFFF#000000##FFFFFF
##4E11491.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D264B
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#51182B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1149;
/* rgb */ color: rgb(78, 17, 73);
/* oklch */ color: oklch(30.8% 0.115 331.5);
Tailwind
colors: {
  custom: {
    50: '#82567c',
    500: '#4e1149',
    950: '#000000',
  },
}
SCSS
$custom: #4e1149;
$custom-light: #82567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1149",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 304.918,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.11461,
    "h": 331.5
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#4E1149
secondary
#33873A
accent
#E74E41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1149

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

Preview Lab → · Contrast checker → · Palette generator →

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