#4D0F4A#4D0F4A

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

Color values

HEX#4D0F4A
RGBrgb(77, 15, 74)
HSLhsl(303, 67%, 18%)
HSVhsv(303, 81%, 30%)
CMYKcmyk(0%, 80.5%, 3.9%, 69.8%)
CIE-LABlab(17.53, 35.94, -21.19)
CIE-LCHlch(17.53, 41.72, 329.48°)
OKLaboklab(30.45% 0.1018 -0.0585)
OKLCHoklch(30.45% 0.117 330.1)
XYZxyz(4.4674, 2.4142, 6.7079)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F4A #0F4D12
analogous
#310F4D #4D0F4A #4D0F2B
triadic
#4D0F4A #4A4D0F #0F4A4D
tetradic
#4D0F4A #4D310F #0F4D12 #0F2B4D
square
#4D0F4A #4D310F #0F4D12 #0F2B4D
split-complementary
#4D0F4A #2B4D0F #0F4D31
monochromatic
#1A0519 #1A0519 #4D0F4A #80197B #B323AC

Accessibility & contrast

On white

14.16
#4D0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F4A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F4A#FFFFFF#000000##FFFFFF
##4D0F4A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264C
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#50172B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f4a;
/* rgb */ color: rgb(77, 15, 74);
/* oklch */ color: oklch(30.5% 0.117 330.1);
Tailwind
colors: {
  custom: {
    50: '#81557d',
    500: '#4d0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f4a;
$custom-light: #81557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f4a",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 302.903,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30452,
    "c": 0.11741,
    "h": 330.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4D0F4A
secondary
#318735
accent
#EA463E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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