#4E1846#4E1846

#4E1846 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.102 H 334.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1846
RGBrgb(78, 24, 70)
HSLhsl(309, 53%, 20%)
HSVhsv(309, 69%, 31%)
CMYKcmyk(0%, 69.2%, 10.3%, 69.4%)
CIE-LABlab(18.87, 31.58, -16.31)
CIE-LCHlch(18.87, 35.55, 332.68°)
OKLaboklab(31.38% 0.0914 -0.0445)
OKLCHoklch(31.38% 0.102 334)
XYZxyz(4.5740, 2.7155, 6.0764)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1846 #184E20
analogous
#3B184E #4E1846 #4E182B
triadic
#4E1846 #464E18 #18464E
tetradic
#4E1846 #4E3B18 #184E20 #182B4E
square
#4E1846 #4E3B18 #184E20 #182B4E
split-complementary
#4E1846 #2B4E18 #184E3B
monochromatic
#170715 #1F0A1C #4E1846 #7D2670 #AC359A

Accessibility & contrast

On white

13.61
#4E1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1846
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1846#FFFFFF#000000##FFFFFF
##4E18461.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#521C2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1846;
/* rgb */ color: rgb(78, 24, 70);
/* oklch */ color: oklch(31.4% 0.102 334.0);
Tailwind
colors: {
  custom: {
    50: '#825979',
    500: '#4e1846',
    950: '#000000',
  },
}
SCSS
$custom: #4e1846;
$custom-light: #825979;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1846",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 308.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.10165,
    "h": 334
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#4E1846
secondary
#3D8548
accent
#DC614B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1846

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

Preview Lab → · Contrast checker → · Palette generator →

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