#4E0C4B#4E0C4B

#4E0C4B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.122 H 330.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4E0C4B
RGBrgb(78, 12, 75)
HSLhsl(303, 73%, 18%)
HSVhsv(303, 85%, 31%)
CMYKcmyk(0%, 84.6%, 3.8%, 69.4%)
CIE-LABlab(17.42, 37.42, -22.03)
CIE-LCHlch(17.42, 43.42, 329.51°)
OKLaboklab(30.43% 0.106 -0.0609)
OKLCHoklch(30.43% 0.122 330.1)
XYZxyz(4.5433, 2.3910, 6.8775)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C4B #0C4E0F
analogous
#300C4E #4E0C4B #4E0C2A
triadic
#4E0C4B #4B4E0C #0C4B4E
tetradic
#4E0C4B #4E300C #0C4E0F #0C2A4E
square
#4E0C4B #4E300C #0C4E0F #0C2A4E
split-complementary
#4E0C4B #2A4E0C #0C4E30
monochromatic
#1B041A #1B041A #4E0C4B #83147E #B81CB1

Accessibility & contrast

On white

14.21
#4E0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E0C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C4B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C4B#FFFFFF#000000##FFFFFF
##4E0C4B1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#51162B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0c4b;
/* rgb */ color: rgb(78, 12, 75);
/* oklch */ color: oklch(30.4% 0.122 330.1);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4e0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c4b;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c4b",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 302.727,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30432,
    "c": 0.12227,
    "h": 330.1
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#4E0C4B
secondary
#2C8A30
accent
#F04038
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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