#4D0E48#4D0E48

#4D0E48 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.117 H 331.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4D0E48
RGBrgb(77, 14, 72)
HSLhsl(305, 69%, 18%)
HSVhsv(305, 82%, 30%)
CMYKcmyk(0%, 81.8%, 6.5%, 69.8%)
CIE-LABlab(17.27, 35.94, -20.21)
CIE-LCHlch(17.27, 41.23, 330.65°)
OKLaboklab(30.23% 0.1028 -0.0556)
OKLCHoklch(30.23% 0.117 331.6)
XYZxyz(4.3873, 2.3601, 6.3541)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E48 #0E4D13
analogous
#320E4D #4D0E48 #4D0E28
triadic
#4D0E48 #484D0E #0E484D
tetradic
#4D0E48 #4D320E #0E4D13 #0E284D
square
#4D0E48 #4D320E #0E4D13 #0E284D
split-complementary
#4D0E48 #284D0E #0E4D32
monochromatic
#1A0518 #1A0518 #4D0E48 #811778 #B521A9

Accessibility & contrast

On white

14.27
#4D0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E48
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E48#FFFFFF#000000##FFFFFF
##4D0E481.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254A
Deuteranopia (green-blind)
#222E46
Tritanopia (blue-blind)
#51162A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0e48;
/* rgb */ color: rgb(77, 14, 72);
/* oklch */ color: oklch(30.2% 0.117 331.6);
Tailwind
colors: {
  custom: {
    50: '#81557b',
    500: '#4d0e48',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e48;
$custom-light: #81557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e48",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 304.762,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30231,
    "c": 0.1169,
    "h": 331.6
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#4D0E48
secondary
#2F8836
accent
#EC4A3C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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