#4E1546#4E1546

#4E1546 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.106 H 333.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#4E1546
RGBrgb(78, 21, 70)
HSLhsl(308, 58%, 19%)
HSVhsv(308, 73%, 31%)
CMYKcmyk(0%, 73.1%, 10.3%, 69.4%)
CIE-LABlab(18.36, 32.99, -17.11)
CIE-LCHlch(18.36, 37.16, 332.59°)
OKLaboklab(31.01% 0.0955 -0.0468)
OKLCHoklch(31.01% 0.106 333.9)
XYZxyz(4.5156, 2.5986, 6.0569)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1546 #154E1D
analogous
#3A154E #4E1546 #4E152A
triadic
#4E1546 #464E15 #15464E
tetradic
#4E1546 #4E3A15 #154E1D #152A4E
square
#4E1546 #4E3A15 #154E1D #152A4E
split-complementary
#4E1546 #2A4E15 #154E3A
monochromatic
#180616 #1E081B #4E1546 #7E2271 #AE2F9D

Accessibility & contrast

On white

13.82
#4E1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1546
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1546#FFFFFF#000000##FFFFFF
##4E15461.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142747
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#521A2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1546;
/* rgb */ color: rgb(78, 21, 70);
/* oklch */ color: oklch(31.0% 0.106 333.9);
Tailwind
colors: {
  custom: {
    50: '#825879',
    500: '#4e1546',
    950: '#000000',
  },
}
SCSS
$custom: #4e1546;
$custom-light: #825879;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1546",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 308.421,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31013,
    "c": 0.10635,
    "h": 333.9
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#4E1546
secondary
#398644
accent
#E15D47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1546

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

Preview Lab → · Contrast checker → · Palette generator →

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