#4D0E54#4D0E54

#4D0E54 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.127 H 323.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4D0E54
RGBrgb(77, 14, 84)
HSLhsl(294, 71%, 19%)
HSVhsv(294, 83%, 33%)
CMYKcmyk(8.3%, 83.3%, 0%, 67.1%)
CIE-LABlab(18.06, 38.22, -27.15)
CIE-LCHlch(18.06, 46.88, 324.61°)
OKLaboklab(31.05% 0.1025 -0.0758)
OKLCHoklch(31.05% 0.127 323.5)
XYZxyz(4.8177, 2.5322, 8.6208)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E54 #15540E
analogous
#2A0E54 #4D0E54 #540E38
triadic
#4D0E54 #544D0E #0E544D
tetradic
#4D0E54 #542A0E #15540E #0E3854
square
#4D0E54 #542A0E #15540E #0E3854
split-complementary
#4D0E54 #38540E #0E542A
monochromatic
#18041A #1D0520 #4D0E54 #7D1788 #AD1FBD

Accessibility & contrast

On white

13.94
#4D0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E54
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E54#FFFFFF#000000##FFFFFF
##4D0E541.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#1B2F52
Tritanopia (blue-blind)
#4E1C31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0e54;
/* rgb */ color: rgb(77, 14, 84);
/* oklch */ color: oklch(31.0% 0.127 323.5);
Tailwind
colors: {
  custom: {
    50: '#825584',
    500: '#4d0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e54;
$custom-light: #825584;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e54",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 294,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31049,
    "c": 0.12748,
    "h": 323.5
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#4D0E54
secondary
#398E2F
accent
#EE3A4C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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