#4E0D4E#4E0D4E

#4E0D4E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.124 H 328.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4E0D4E
RGBrgb(78, 13, 78)
HSLhsl(300, 71%, 18%)
HSVhsv(300, 83%, 31%)
CMYKcmyk(0%, 83.3%, 0%, 69.4%)
CIE-LABlab(17.73, 37.63, -23.60)
CIE-LCHlch(17.73, 44.42, 327.91°)
OKLaboklab(30.71% 0.1051 -0.0654)
OKLCHoklch(30.71% 0.124 328.1)
XYZxyz(4.6609, 2.4580, 7.4352)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D4E #0D4E0D
analogous
#2D0D4E #4E0D4E #4E0D2D
triadic
#4E0D4E #4E4E0D #0D4E4E
tetradic
#4E0D4E #4E2D0D #0D4E0D #0D2D4E
square
#4E0D4E #4E2D0D #0D4E0D #0D2D4E
split-complementary
#4E0D4E #2D4E0D #0D4E2D
monochromatic
#1A041A #1A041A #4E0D4E #821682 #B71EB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E0D4E#FFFFFF#000000##FFFFFF
##4E0D4E1.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)
#012650
Deuteranopia (green-blind)
#202E4C
Tritanopia (blue-blind)
#51182D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0d4e;
/* rgb */ color: rgb(78, 13, 78);
/* oklch */ color: oklch(30.7% 0.124 328.1);
Tailwind
colors: {
  custom: {
    50: '#825580',
    500: '#4e0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d4e;
$custom-light: #825580;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d4e",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30715,
    "c": 0.12376,
    "h": 328.1
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#4E0D4E
secondary
#2E892E
accent
#EE3A3A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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