#4D0B4A#4D0B4A

#4D0B4A is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.122 H 330.2°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#4D0B4A
RGBrgb(77, 11, 74)
HSLhsl(303, 75%, 17%)
HSVhsv(303, 86%, 30%)
CMYKcmyk(0%, 85.7%, 3.9%, 69.8%)
CIE-LABlab(17.05, 37.32, -21.95)
CIE-LCHlch(17.05, 43.29, 329.54°)
OKLaboklab(30.11% 0.1058 -0.0607)
OKLCHoklch(30.11% 0.122 330.2)
XYZxyz(4.4163, 2.3119, 6.6909)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0B4A #0B4D0E
analogous
#2F0B4D #4D0B4A #4D0B29
triadic
#4D0B4A #4A4D0B #0B4A4D
tetradic
#4D0B4A #4D2F0B #0B4D0E #0B294D
square
#4D0B4A #4D2F0B #0B4D0E #0B294D
split-complementary
#4D0B4A #294D0B #0B4D2F
monochromatic
#1B041A #1B041A #4D0B4A #83137D #B81AB1

Accessibility & contrast

On white

14.36
#4D0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0B4A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0B4A#FFFFFF#000000##FFFFFF
##4D0B4A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#202D48
Tritanopia (blue-blind)
#50152A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0b4a;
/* rgb */ color: rgb(77, 11, 74);
/* oklch */ color: oklch(30.1% 0.122 330.2);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4d0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #4d0b4a;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0b4a",
  "rgb": {
    "r": 77,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 302.727,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30109,
    "c": 0.12194,
    "h": 330.2
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#4D0B4A
secondary
#2B892F
accent
#F23F36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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