#4D0F4C#4D0F4C

#4D0F4C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.6% C 0.119 H 328.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4D0F4C
RGBrgb(77, 15, 76)
HSLhsl(301, 67%, 18%)
HSVhsv(301, 81%, 30%)
CMYKcmyk(0%, 80.5%, 1.3%, 69.8%)
CIE-LABlab(17.65, 36.31, -22.36)
CIE-LCHlch(17.65, 42.64, 328.37°)
OKLaboklab(30.58% 0.1018 -0.0619)
OKLCHoklch(30.58% 0.119 328.7)
XYZxyz(4.5359, 2.4416, 7.0684)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F4C #0F4D10
analogous
#2F0F4D #4D0F4C #4D0F2D
triadic
#4D0F4C #4C4D0F #0F4C4D
tetradic
#4D0F4C #4D2F0F #0F4D10 #0F2D4D
square
#4D0F4C #4D2F0F #0F4D10 #0F2D4D
split-complementary
#4D0F4C #2D4D0F #0F4D2F
monochromatic
#1A0519 #1A0519 #4D0F4C #80197F #B323B1

Accessibility & contrast

On white

14.11
#4D0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D0F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F4C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F4C#FFFFFF#000000##FFFFFF
##4D0F4C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#50182C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f4c;
/* rgb */ color: rgb(77, 15, 76);
/* oklch */ color: oklch(30.6% 0.119 328.7);
Tailwind
colors: {
  custom: {
    50: '#81557e',
    500: '#4d0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f4c;
$custom-light: #81557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f4c",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 300.968,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30583,
    "c": 0.11917,
    "h": 328.7
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#4D0F4C
secondary
#318732
accent
#EA403E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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