#4E0C44#4E0C44

#4E0C44 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.117 H 335.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#4E0C44
RGBrgb(78, 12, 68)
HSLhsl(309, 73%, 18%)
HSVhsv(309, 85%, 31%)
CMYKcmyk(0%, 84.6%, 12.8%, 69.4%)
CIE-LABlab(16.99, 36.19, -17.87)
CIE-LCHlch(16.99, 40.36, 333.72°)
OKLaboklab(29.99% 0.1058 -0.0489)
OKLCHoklch(29.99% 0.117 335.2)
XYZxyz(4.3168, 2.3004, 5.6844)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C44 #0C4E16
analogous
#370C4E #4E0C44 #4E0C23
triadic
#4E0C44 #444E0C #0C444E
tetradic
#4E0C44 #4E370C #0C4E16 #0C234E
square
#4E0C44 #4E370C #0C4E16 #0C234E
split-complementary
#4E0C44 #234E0C #0C4E37
monochromatic
#1B0417 #1B0417 #4E0C44 #831472 #B81CA0

Accessibility & contrast

On white

14.38
#4E0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E0C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C44
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C44#FFFFFF#000000##FFFFFF
##4E0C441.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2445
Deuteranopia (green-blind)
#242D42
Tritanopia (blue-blind)
#521227
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0c44;
/* rgb */ color: rgb(78, 12, 68);
/* oklch */ color: oklch(30.0% 0.117 335.2);
Tailwind
colors: {
  custom: {
    50: '#825478',
    500: '#4e0c44',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c44;
$custom-light: #825478;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c44",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 309.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29988,
    "c": 0.11652,
    "h": 335.2
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#4E0C44
secondary
#2C8A3A
accent
#F05438
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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