#4D0E47#4D0E47

#4D0E47 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.2% C 0.116 H 332.3°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4D0E47
RGBrgb(77, 14, 71)
HSLhsl(306, 69%, 18%)
HSVhsv(306, 82%, 30%)
CMYKcmyk(0%, 81.8%, 7.8%, 69.8%)
CIE-LABlab(17.21, 35.76, -19.61)
CIE-LCHlch(17.21, 40.78, 331.26°)
OKLaboklab(30.17% 0.1028 -0.0539)
OKLCHoklch(30.17% 0.116 332.3)
XYZxyz(4.3550, 2.3472, 6.1837)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E47 #0E4D14
analogous
#330E4D #4D0E47 #4D0E27
triadic
#4D0E47 #474D0E #0E474D
tetradic
#4D0E47 #4D330E #0E4D14 #0E274D
square
#4D0E47 #4D330E #0E4D14 #0E274D
split-complementary
#4D0E47 #274D0E #0E4D33
monochromatic
#1A0518 #1A0518 #4D0E47 #811777 #B521A6

Accessibility & contrast

On white

14.29
#4D0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E47
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E47#FFFFFF#000000##FFFFFF
##4D0E471.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#232D45
Tritanopia (blue-blind)
#511529
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0e47;
/* rgb */ color: rgb(77, 14, 71);
/* oklch */ color: oklch(30.2% 0.116 332.3);
Tailwind
colors: {
  custom: {
    50: '#81557a',
    500: '#4d0e47',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e47;
$custom-light: #81557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e47",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 305.714,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.11606,
    "h": 332.3
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#4D0E47
secondary
#2F8838
accent
#EC4D3C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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