#4E1049#4E1049

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

Color values

HEX#4E1049
RGBrgb(78, 16, 73)
HSLhsl(305, 66%, 18%)
HSVhsv(305, 79%, 31%)
CMYKcmyk(0%, 79.5%, 6.4%, 69.4%)
CIE-LABlab(17.79, 35.63, -20.07)
CIE-LCHlch(17.79, 40.90, 330.61°)
OKLaboklab(30.66% 0.1019 -0.0552)
OKLCHoklch(30.66% 0.116 331.5)
XYZxyz(4.5298, 2.4717, 6.5405)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1049 #104E15
analogous
#34104E #4E1049 #4E102A
triadic
#4E1049 #494E10 #10494E
tetradic
#4E1049 #4E3410 #104E15 #102A4E
square
#4E1049 #4E3410 #104E15 #102A4E
split-complementary
#4E1049 #2A4E10 #104E34
monochromatic
#190518 #1B0619 #4E1049 #811A79 #B425A8

Accessibility & contrast

On white

14.05
#4E1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1049
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1049#FFFFFF#000000##FFFFFF
##4E10491.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1049;
/* rgb */ color: rgb(78, 16, 73);
/* oklch */ color: oklch(30.7% 0.116 331.5);
Tailwind
colors: {
  custom: {
    50: '#82567c',
    500: '#4e1049',
    950: '#000000',
  },
}
SCSS
$custom: #4e1049;
$custom-light: #82567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1049",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 304.839,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30658,
    "c": 0.1159,
    "h": 331.5
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#4E1049
secondary
#328839
accent
#E94D3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1049

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

Preview Lab → · Contrast checker → · Palette generator →

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