#4D0F47#4D0F47

#4D0F47 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.115 H 332.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4D0F47
RGBrgb(77, 15, 71)
HSLhsl(306, 67%, 18%)
HSVhsv(306, 81%, 30%)
CMYKcmyk(0%, 80.5%, 7.8%, 69.8%)
CIE-LABlab(17.34, 35.39, -19.41)
CIE-LCHlch(17.34, 40.36, 331.26°)
OKLaboklab(30.26% 0.1017 -0.0533)
OKLCHoklch(30.26% 0.115 332.3)
XYZxyz(4.3687, 2.3747, 6.1883)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F47 #0F4D15
analogous
#340F4D #4D0F47 #4D0F28
triadic
#4D0F47 #474D0F #0F474D
tetradic
#4D0F47 #4D340F #0F4D15 #0F284D
square
#4D0F47 #4D340F #0F4D15 #0F284D
split-complementary
#4D0F47 #284D0F #0F4D34
monochromatic
#1A0518 #1A0518 #4D0F47 #801976 #B323A5

Accessibility & contrast

On white

14.24
#4D0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F47
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F47#FFFFFF#000000##FFFFFF
##4D0F471.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#232E46
Tritanopia (blue-blind)
#51162A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f47;
/* rgb */ color: rgb(77, 15, 71);
/* oklch */ color: oklch(30.3% 0.115 332.3);
Tailwind
colors: {
  custom: {
    50: '#81557a',
    500: '#4d0f47',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f47;
$custom-light: #81557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f47",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 305.806,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30261,
    "c": 0.11483,
    "h": 332.3
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#4D0F47
secondary
#318739
accent
#EA4E3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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