#4E1044#4E1044

#4E1044 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.112 H 335.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#4E1044
RGBrgb(78, 16, 68)
HSLhsl(310, 66%, 18%)
HSVhsv(310, 79%, 31%)
CMYKcmyk(0%, 79.5%, 12.8%, 69.4%)
CIE-LABlab(17.50, 34.75, -17.07)
CIE-LCHlch(17.50, 38.71, 333.83°)
OKLaboklab(30.35% 0.1015 -0.0466)
OKLCHoklch(30.35% 0.112 335.3)
XYZxyz(4.3706, 2.4080, 5.7023)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1044 #104E1A
analogous
#39104E #4E1044 #4E1025
triadic
#4E1044 #444E10 #10444E
tetradic
#4E1044 #4E3910 #104E1A #10254E
square
#4E1044 #4E3910 #104E1A #10254E
split-complementary
#4E1044 #254E10 #104E39
monochromatic
#190516 #1B0618 #4E1044 #811A70 #B4259D

Accessibility & contrast

On white

14.17
#4E1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1044
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1044#FFFFFF#000000##FFFFFF
##4E10441.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#262E43
Tritanopia (blue-blind)
#521528
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1044;
/* rgb */ color: rgb(78, 16, 68);
/* oklch */ color: oklch(30.4% 0.112 335.3);
Tailwind
colors: {
  custom: {
    50: '#825578',
    500: '#4e1044',
    950: '#000000',
  },
}
SCSS
$custom: #4e1044;
$custom-light: #825578;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1044",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 309.677,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30353,
    "c": 0.11169,
    "h": 335.3
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#4E1044
secondary
#328840
accent
#E95A3F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1044

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

Preview Lab → · Contrast checker → · Palette generator →

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