#4E0C4F#4E0C4F

#4E0C4F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.7% C 0.126 H 327.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4E0C4F
RGBrgb(78, 12, 79)
HSLhsl(299, 74%, 18%)
HSVhsv(299, 85%, 31%)
CMYKcmyk(1.3%, 84.8%, 0%, 69%)
CIE-LABlab(17.68, 38.15, -24.36)
CIE-LCHlch(17.68, 45.26, 327.45°)
OKLaboklab(30.7% 0.1059 -0.0676)
OKLCHoklch(30.7% 0.126 327.4)
XYZxyz(4.6846, 2.4475, 7.6213)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C4F #0D4F0C
analogous
#2C0C4F #4E0C4F #4F0C2F
triadic
#4E0C4F #4F4E0C #0C4F4E
tetradic
#4E0C4F #4F2C0C #0D4F0C #0C2F4F
square
#4E0C4F #4F2C0C #0D4F0C #0C2F4F
split-complementary
#4E0C4F #2F4F0C #0C4F2C
monochromatic
#1A041B #1A041B #4E0C4F #821484 #B71CB9

Accessibility & contrast

On white

14.10
#4E0C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C4F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C4F#FFFFFF#000000##FFFFFF
##4E0C4F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#51182D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0c4f;
/* rgb */ color: rgb(78, 12, 79);
/* oklch */ color: oklch(30.7% 0.126 327.4);
Tailwind
colors: {
  custom: {
    50: '#825481',
    500: '#4e0c4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c4f;
$custom-light: #825481;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c4f",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 299.104,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30703,
    "c": 0.12569,
    "h": 327.4
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#4E0C4F
secondary
#2E8B2C
accent
#F0383A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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