#4D0B4E#4D0B4E

#4D0B4E is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.125 H 327.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4D0B4E
RGBrgb(77, 11, 78)
HSLhsl(299, 75%, 17%)
HSVhsv(299, 86%, 31%)
CMYKcmyk(1.3%, 85.9%, 0%, 69.4%)
CIE-LABlab(17.31, 38.05, -24.28)
CIE-LCHlch(17.31, 45.13, 327.46°)
OKLaboklab(30.38% 0.1057 -0.0674)
OKLCHoklch(30.38% 0.125 327.5)
XYZxyz(4.5553, 2.3675, 7.4233)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0B4E #0C4E0B
analogous
#2B0B4E #4D0B4E #4E0B2E
triadic
#4D0B4E #4E4D0B #0B4E4D
tetradic
#4D0B4E #4E2B0B #0C4E0B #0B2E4E
square
#4D0B4E #4E2B0B #0C4E0B #0B2E4E
split-complementary
#4D0B4E #2E4E0B #0B4E2B
monochromatic
#1A041B #1A041B #4D0B4E #821384 #B71AB9

Accessibility & contrast

On white

14.25
#4D0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0B4E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0B4E#FFFFFF#000000##FFFFFF
##4D0B4E1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#50172D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0b4e;
/* rgb */ color: rgb(77, 11, 78);
/* oklch */ color: oklch(30.4% 0.125 327.5);
Tailwind
colors: {
  custom: {
    50: '#825480',
    500: '#4d0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d0b4e;
$custom-light: #825480;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0b4e",
  "rgb": {
    "r": 77,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 299.104,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.12533,
    "h": 327.5
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#4D0B4E
secondary
#2C8A2B
accent
#F23639
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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