#4E0C47#4E0C47

#4E0C47 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.2% C 0.119 H 333.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4E0C47
RGBrgb(78, 12, 71)
HSLhsl(306, 73%, 18%)
HSVhsv(306, 85%, 31%)
CMYKcmyk(0%, 84.6%, 9%, 69.4%)
CIE-LABlab(17.17, 36.71, -19.67)
CIE-LCHlch(17.17, 41.64, 331.82°)
OKLaboklab(30.17% 0.106 -0.054)
OKLCHoklch(30.17% 0.119 333)
XYZxyz(4.4107, 2.3380, 6.1790)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C47 #0C4E13
analogous
#340C4E #4E0C47 #4E0C26
triadic
#4E0C47 #474E0C #0C474E
tetradic
#4E0C47 #4E340C #0C4E13 #0C264E
square
#4E0C47 #4E340C #0C4E13 #0C264E
split-complementary
#4E0C47 #264E0C #0C4E34
monochromatic
#1B0418 #1B0418 #4E0C47 #831477 #B81CA8

Accessibility & contrast

On white

14.31
#4E0C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E0C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C47
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C47#FFFFFF#000000##FFFFFF
##4E0C471.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#232E45
Tritanopia (blue-blind)
#521329
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0c47;
/* rgb */ color: rgb(78, 12, 71);
/* oklch */ color: oklch(30.2% 0.119 333.0);
Tailwind
colors: {
  custom: {
    50: '#82547a',
    500: '#4e0c47',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c47;
$custom-light: #82547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c47",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 306.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.11894,
    "h": 333
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#4E0C47
secondary
#2C8A36
accent
#F04B38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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