#4E1048#4E1048

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

Color values

HEX#4E1048
RGBrgb(78, 16, 72)
HSLhsl(306, 66%, 18%)
HSVhsv(306, 79%, 31%)
CMYKcmyk(0%, 79.5%, 7.7%, 69.4%)
CIE-LABlab(17.73, 35.45, -19.47)
CIE-LCHlch(17.73, 40.45, 331.22°)
OKLaboklab(30.6% 0.1018 -0.0535)
OKLCHoklch(30.6% 0.115 332.3)
XYZxyz(4.4969, 2.4585, 6.3673)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1048 #104E16
analogous
#35104E #4E1048 #4E1029
triadic
#4E1048 #484E10 #10484E
tetradic
#4E1048 #4E3510 #104E16 #10294E
square
#4E1048 #4E3510 #104E16 #10294E
split-complementary
#4E1048 #294E10 #104E35
monochromatic
#190517 #1B0619 #4E1048 #811A77 #B425A6

Accessibility & contrast

On white

14.08
#4E1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1048
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1048#FFFFFF#000000##FFFFFF
##4E10481.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C264A
Deuteranopia (green-blind)
#242F46
Tritanopia (blue-blind)
#52172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1048;
/* rgb */ color: rgb(78, 16, 72);
/* oklch */ color: oklch(30.6% 0.115 332.3);
Tailwind
colors: {
  custom: {
    50: '#82567b',
    500: '#4e1048',
    950: '#000000',
  },
}
SCSS
$custom: #4e1048;
$custom-light: #82567b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1048",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 305.806,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.11504,
    "h": 332.3
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#4E1048
secondary
#32883A
accent
#E94F3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1048

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

Preview Lab → · Contrast checker → · Palette generator →

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