#4E0C46#4E0C46

#4E0C46 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.118 H 333.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4E0C46
RGBrgb(78, 12, 70)
HSLhsl(307, 73%, 18%)
HSVhsv(307, 85%, 31%)
CMYKcmyk(0%, 84.6%, 10.3%, 69.4%)
CIE-LABlab(17.11, 36.53, -19.07)
CIE-LCHlch(17.11, 41.21, 332.43°)
OKLaboklab(30.11% 0.1059 -0.0523)
OKLCHoklch(30.11% 0.118 333.7)
XYZxyz(4.3789, 2.3252, 6.0114)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C46 #0C4E14
analogous
#350C4E #4E0C46 #4E0C25
triadic
#4E0C46 #464E0C #0C464E
tetradic
#4E0C46 #4E350C #0C4E14 #0C254E
square
#4E0C46 #4E350C #0C4E14 #0C254E
split-complementary
#4E0C46 #254E0C #0C4E35
monochromatic
#1B0418 #1B0418 #4E0C46 #831476 #B81CA5

Accessibility & contrast

On white

14.33
#4E0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C46
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C46#FFFFFF#000000##FFFFFF
##4E0C461.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2448
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#521328
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0c46;
/* rgb */ color: rgb(78, 12, 70);
/* oklch */ color: oklch(30.1% 0.118 333.7);
Tailwind
colors: {
  custom: {
    50: '#825479',
    500: '#4e0c46',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c46;
$custom-light: #825479;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c46",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 307.273,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.11813,
    "h": 333.7
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#4E0C46
secondary
#2C8A38
accent
#F04E38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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