#4D0E4F#4D0E4F

#4D0E4F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.123 H 326.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4D0E4F
RGBrgb(77, 14, 79)
HSLhsl(298, 70%, 18%)
HSVhsv(298, 82%, 31%)
CMYKcmyk(2.5%, 82.3%, 0%, 69%)
CIE-LABlab(17.72, 37.24, -24.30)
CIE-LCHlch(17.72, 44.47, 326.87°)
OKLaboklab(30.7% 0.1028 -0.0675)
OKLCHoklch(30.7% 0.123 326.7)
XYZxyz(4.6288, 2.4567, 7.6260)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E4F #104F0E
analogous
#2C0E4F #4D0E4F #4F0E30
triadic
#4D0E4F #4F4D0E #0E4F4D
tetradic
#4D0E4F #4F2C0E #104F0E #0E304F
square
#4D0E4F #4F2C0E #104F0E #0E304F
split-complementary
#4D0E4F #304F0E #0E4F2C
monochromatic
#19051A #1A051B #4D0E4F #801783 #B220B7

Accessibility & contrast

On white

14.08
#4D0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E4F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E4F#FFFFFF#000000##FFFFFF
##4D0E4F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#4F192E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0e4f;
/* rgb */ color: rgb(77, 14, 79);
/* oklch */ color: oklch(30.7% 0.123 326.7);
Tailwind
colors: {
  custom: {
    50: '#825581',
    500: '#4d0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e4f;
$custom-light: #825581;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e4f",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 298.154,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.123,
    "h": 326.7
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#4D0E4F
secondary
#328A2F
accent
#ED3B41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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