#4D0F57#4D0F57

#4D0F57 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.129 H 321.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4D0F57
RGBrgb(77, 15, 87)
HSLhsl(292, 71%, 20%)
HSVhsv(292, 83%, 34%)
CMYKcmyk(11.5%, 82.8%, 0%, 65.9%)
CIE-LABlab(18.40, 38.47, -28.64)
CIE-LCHlch(18.40, 47.95, 323.34°)
OKLaboklab(31.36% 0.1012 -0.0802)
OKLCHoklch(31.36% 0.129 321.6)
XYZxyz(4.9515, 2.6078, 9.2575)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F57 #19570F
analogous
#290F57 #4D0F57 #570F3D
triadic
#4D0F57 #574D0F #0F574D
tetradic
#4D0F57 #57290F #19570F #0F3D57
square
#4D0F57 #57290F #19570F #0F3D57
split-complementary
#4D0F57 #3D570F #0F5729
monochromatic
#17051A #1F0623 #4D0F57 #7B188B #A921BF

Accessibility & contrast

On white

13.80
#4D0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F57
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F57#FFFFFF#000000##FFFFFF
##4D0F571.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#192F55
Tritanopia (blue-blind)
#4E1E33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d0f57;
/* rgb */ color: rgb(77, 15, 87);
/* oklch */ color: oklch(31.4% 0.129 321.6);
Tailwind
colors: {
  custom: {
    50: '#825687',
    500: '#4d0f57',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f57;
$custom-light: #825687;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f57",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 291.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.12914,
    "h": 321.6
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#4D0F57
secondary
#3E9131
accent
#ED3A53
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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