#4D0F51#4D0F51

#4D0F51 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.124 H 325.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4D0F51
RGBrgb(77, 15, 81)
HSLhsl(296, 69%, 19%)
HSVhsv(296, 81%, 32%)
CMYKcmyk(4.9%, 81.5%, 0%, 68.2%)
CIE-LABlab(17.98, 37.27, -25.25)
CIE-LCHlch(17.98, 45.02, 325.88°)
OKLaboklab(30.92% 0.1017 -0.0703)
OKLCHoklch(30.92% 0.124 325.4)
XYZxyz(4.7165, 2.5138, 8.0198)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F51 #13510F
analogous
#2C0F51 #4D0F51 #510F34
triadic
#4D0F51 #514D0F #0F514D
tetradic
#4D0F51 #512C0F #13510F #0F3451
square
#4D0F51 #512C0F #13510F #0F3451
split-complementary
#4D0F51 #34510F #0F512C
monochromatic
#19051A #1C051D #4D0F51 #7E1985 #AF22B8

Accessibility & contrast

On white

13.97
#4D0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D0F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F51
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F51#FFFFFF#000000##FFFFFF
##4D0F511.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1D2F4F
Tritanopia (blue-blind)
#4F1B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0f51;
/* rgb */ color: rgb(77, 15, 81);
/* oklch */ color: oklch(30.9% 0.124 325.4);
Tailwind
colors: {
  custom: {
    50: '#825582',
    500: '#4d0f51',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f51;
$custom-light: #825582;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f51",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 296.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.12363,
    "h": 325.4
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#4D0F51
secondary
#368B31
accent
#EC3C47
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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