#4E1C46#4E1C46

#4E1C46 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.9% C 0.095 H 334.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4E1C46
RGBrgb(78, 28, 70)
HSLhsl(310, 47%, 21%)
HSVhsv(310, 64%, 31%)
CMYKcmyk(0%, 64.1%, 10.3%, 69.4%)
CIE-LABlab(19.61, 29.55, -15.16)
CIE-LCHlch(19.61, 33.21, 332.84°)
OKLaboklab(31.92% 0.0854 -0.0412)
OKLCHoklch(31.92% 0.095 334.2)
XYZxyz(4.6626, 2.8928, 6.1059)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C46 #1C4E24
analogous
#3D1C4E #4E1C46 #4E1C2D
triadic
#4E1C46 #464E1C #1C464E
tetradic
#4E1C46 #4E3D1C #1C4E24 #1C2D4E
square
#4E1C46 #4E3D1C #1C4E24 #1C2D4E
split-complementary
#4E1C46 #2D4E1C #1C4E3D
monochromatic
#170814 #210C1E #4E1C46 #7B2C6E #A83C97

Accessibility & contrast

On white

13.30
#4E1C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C46
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C46#FFFFFF#000000##FFFFFF
##4E1C461.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B47
Deuteranopia (green-blind)
#2B3245
Tritanopia (blue-blind)
#521F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1c46;
/* rgb */ color: rgb(78, 28, 70);
/* oklch */ color: oklch(31.9% 0.095 334.2);
Tailwind
colors: {
  custom: {
    50: '#815b79',
    500: '#4e1c46',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c46;
$custom-light: #815b79;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c46",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 309.6,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31925,
    "c": 0.09488,
    "h": 334.2
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#4E1C46
secondary
#42844D
accent
#D76651
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1C46

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

Preview Lab → · Contrast checker → · Palette generator →

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