#4E0F54#4E0F54

#4E0F54 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.127 H 324.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4E0F54
RGBrgb(78, 15, 84)
HSLhsl(295, 70%, 19%)
HSVhsv(295, 82%, 33%)
CMYKcmyk(7.1%, 82.1%, 0%, 67.1%)
CIE-LABlab(18.37, 38.09, -26.64)
CIE-LCHlch(18.37, 46.49, 325.03°)
OKLaboklab(31.3% 0.1028 -0.0743)
OKLCHoklch(31.3% 0.127 324.1)
XYZxyz(4.9128, 2.6018, 8.6292)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F54 #15540F
analogous
#2C0F54 #4E0F54 #540F38
triadic
#4E0F54 #544E0F #0F544E
tetradic
#4E0F54 #542C0F #15540F #0F3854
square
#4E0F54 #542C0F #15540F #0F3854
split-complementary
#4E0F54 #38540F #0F542C
monochromatic
#18051A #1E0620 #4E0F54 #7E1888 #AE22BC

Accessibility & contrast

On white

13.81
#4E0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F54
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F54#FFFFFF#000000##FFFFFF
##4E0F541.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#501C31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e0f54;
/* rgb */ color: rgb(78, 15, 84);
/* oklch */ color: oklch(31.3% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#825684',
    500: '#4e0f54',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f54;
$custom-light: #825684;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f54",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 294.783,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31304,
    "c": 0.12686,
    "h": 324.1
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#4E0F54
secondary
#398E31
accent
#ED3B4B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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