#4E0D4F#4E0D4F

#4E0D4F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.125 H 327.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4E0D4F
RGBrgb(78, 13, 79)
HSLhsl(299, 72%, 18%)
HSVhsv(299, 84%, 31%)
CMYKcmyk(1.3%, 83.5%, 0%, 69%)
CIE-LABlab(17.79, 37.82, -24.17)
CIE-LCHlch(17.79, 44.89, 327.42°)
OKLaboklab(30.78% 0.105 -0.0671)
OKLCHoklch(30.78% 0.125 327.4)
XYZxyz(4.6970, 2.4724, 7.6255)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D4F #0E4F0D
analogous
#2D0D4F #4E0D4F #4F0D2F
triadic
#4E0D4F #4F4E0D #0D4F4E
tetradic
#4E0D4F #4F2D0D #0E4F0D #0D2F4F
square
#4E0D4F #4F2D0D #0E4F0D #0D2F4F
split-complementary
#4E0D4F #2F4F0D #0D4F2D
monochromatic
#1A041A #1A041A #4E0D4F #821684 #B61EB8

Accessibility & contrast

On white

14.05
#4E0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0D4F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D4F#FFFFFF#000000##FFFFFF
##4E0D4F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#51182E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0d4f;
/* rgb */ color: rgb(78, 13, 79);
/* oklch */ color: oklch(30.8% 0.125 327.4);
Tailwind
colors: {
  custom: {
    50: '#825581',
    500: '#4e0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d4f;
$custom-light: #825581;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d4f",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 299.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30784,
    "c": 0.12462,
    "h": 327.4
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#4E0D4F
secondary
#2F8A2E
accent
#EE393C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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