#4E1148#4E1148

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

Color values

HEX#4E1148
RGBrgb(78, 17, 72)
HSLhsl(306, 64%, 19%)
HSVhsv(306, 78%, 31%)
CMYKcmyk(0%, 78.2%, 7.7%, 69.4%)
CIE-LABlab(17.87, 35.06, -19.26)
CIE-LCHlch(17.87, 40.00, 331.22°)
OKLaboklab(30.7% 0.1007 -0.0529)
OKLCHoklch(30.7% 0.114 332.3)
XYZxyz(4.5120, 2.4888, 6.3724)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1148 #114E17
analogous
#35114E #4E1148 #4E1129
triadic
#4E1148 #484E11 #11484E
tetradic
#4E1148 #4E3511 #114E17 #11294E
square
#4E1148 #4E3511 #114E17 #11294E
split-complementary
#4E1148 #294E11 #114E35
monochromatic
#190517 #1C061A #4E1148 #801C76 #B227A5

Accessibility & contrast

On white

14.02
#4E1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1148
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1148#FFFFFF#000000##FFFFFF
##4E11481.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1148;
/* rgb */ color: rgb(78, 17, 72);
/* oklch */ color: oklch(30.7% 0.114 332.3);
Tailwind
colors: {
  custom: {
    50: '#82567b',
    500: '#4e1148',
    950: '#000000',
  },
}
SCSS
$custom: #4e1148;
$custom-light: #82567b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1148",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 305.902,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.11374,
    "h": 332.3
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#4E1148
secondary
#33873C
accent
#E75141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1148

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

Preview Lab → · Contrast checker → · Palette generator →

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