#4E1249#4E1249

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

Color values

HEX#4E1249
RGBrgb(78, 18, 73)
HSLhsl(305, 63%, 19%)
HSVhsv(305, 77%, 31%)
CMYKcmyk(0%, 76.9%, 6.4%, 69.4%)
CIE-LABlab(18.07, 34.84, -19.63)
CIE-LCHlch(18.07, 39.99, 330.60°)
OKLaboklab(30.86% 0.0996 -0.054)
OKLCHoklch(30.86% 0.113 331.5)
XYZxyz(4.5608, 2.5337, 6.5509)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1249 #124E17
analogous
#35124E #4E1249 #4E122B
triadic
#4E1249 #494E12 #12494E
tetradic
#4E1249 #4E3512 #124E17 #122B4E
square
#4E1249 #4E3512 #124E17 #122B4E
split-complementary
#4E1249 #2B4E12 #124E35
monochromatic
#190617 #1C071A #4E1249 #801D78 #B129A6

Accessibility & contrast

On white

13.94
#4E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1249
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1249#FFFFFF#000000##FFFFFF
##4E12491.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274B
Deuteranopia (green-blind)
#242F48
Tritanopia (blue-blind)
#51192C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1249;
/* rgb */ color: rgb(78, 18, 73);
/* oklch */ color: oklch(30.9% 0.113 331.5);
Tailwind
colors: {
  custom: {
    50: '#82567c',
    500: '#4e1249',
    950: '#000000',
  },
}
SCSS
$custom: #4e1249;
$custom-light: #82567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1249",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 305,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3086,
    "c": 0.11327,
    "h": 331.5
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#4E1249
secondary
#35873C
accent
#E65042
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1249

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

Preview Lab → · Contrast checker → · Palette generator →

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