#4D0B4B#4D0B4B

#4D0B4B is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.123 H 329.5°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4D0B4B
RGBrgb(77, 11, 75)
HSLhsl(302, 75%, 17%)
HSVhsv(302, 86%, 30%)
CMYKcmyk(0%, 85.7%, 2.6%, 69.8%)
CIE-LABlab(17.11, 37.50, -22.53)
CIE-LCHlch(17.11, 43.75, 329.00°)
OKLaboklab(30.18% 0.1058 -0.0624)
OKLCHoklch(30.18% 0.123 329.5)
XYZxyz(4.4502, 2.3255, 6.8697)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0B4B #0B4D0D
analogous
#2E0B4D #4D0B4B #4D0B2A
triadic
#4D0B4B #4B4D0B #0B4B4D
tetradic
#4D0B4B #4D2E0B #0B4D0D #0B2A4D
square
#4D0B4B #4D2E0B #0B4D0D #0B2A4D
split-complementary
#4D0B4B #2A4D0B #0B4D2E
monochromatic
#1B041A #1B041A #4D0B4B #83137F #B81AB3

Accessibility & contrast

On white

14.33
#4D0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0B4B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0B4B#FFFFFF#000000##FFFFFF
##4D0B4B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254D
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#50152B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0b4b;
/* rgb */ color: rgb(77, 11, 75);
/* oklch */ color: oklch(30.2% 0.123 329.5);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4d0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #4d0b4b;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0b4b",
  "rgb": {
    "r": 77,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 301.818,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.12278,
    "h": 329.5
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#4D0B4B
secondary
#2B892E
accent
#F23C36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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