#4D0F54#4D0F54

#4D0F54 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.126 H 323.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4D0F54
RGBrgb(77, 15, 84)
HSLhsl(294, 70%, 19%)
HSVhsv(294, 82%, 33%)
CMYKcmyk(8.3%, 82.1%, 0%, 67.1%)
CIE-LABlab(18.19, 37.86, -26.95)
CIE-LCHlch(18.19, 46.47, 324.55°)
OKLaboklab(31.14% 0.1015 -0.0753)
OKLCHoklch(31.14% 0.126 323.4)
XYZxyz(4.8315, 2.5598, 8.6254)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F54 #16540F
analogous
#2B0F54 #4D0F54 #540F39
triadic
#4D0F54 #544D0F #0F544D
tetradic
#4D0F54 #542B0F #16540F #0F3954
square
#4D0F54 #542B0F #16540F #0F3954
split-complementary
#4D0F54 #39540F #0F542B
monochromatic
#18051A #1D0620 #4D0F54 #7D1888 #AC22BC

Accessibility & contrast

On white

13.89
#4D0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F54
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F54#FFFFFF#000000##FFFFFF
##4D0F541.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0f54;
/* rgb */ color: rgb(77, 15, 84);
/* oklch */ color: oklch(31.1% 0.126 323.4);
Tailwind
colors: {
  custom: {
    50: '#825684',
    500: '#4d0f54',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f54;
$custom-light: #825684;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f54",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 293.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31136,
    "c": 0.12637,
    "h": 323.4
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#4D0F54
secondary
#3A8E31
accent
#ED3B4D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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