#4D1047#4D1047

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

Color values

HEX#4D1047
RGBrgb(77, 16, 71)
HSLhsl(306, 66%, 18%)
HSVhsv(306, 79%, 30%)
CMYKcmyk(0%, 79.2%, 7.8%, 69.8%)
CIE-LABlab(17.48, 35.00, -19.20)
CIE-LCHlch(17.48, 39.92, 331.26°)
OKLaboklab(30.36% 0.1006 -0.0527)
OKLCHoklch(30.36% 0.114 332.3)
XYZxyz(4.3832, 2.4037, 6.1931)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1047 #104D16
analogous
#34104D #4D1047 #4D1028
triadic
#4D1047 #474D10 #10474D
tetradic
#4D1047 #4D3410 #104D16 #10284D
square
#4D1047 #4D3410 #104D16 #10284D
split-complementary
#4D1047 #284D10 #104D34
monochromatic
#190517 #1A0518 #4D1047 #801B76 #B225A4

Accessibility & contrast

On white

14.18
#4D1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1047
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1047#FFFFFF#000000##FFFFFF
##4D10471.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2549
Deuteranopia (green-blind)
#242E46
Tritanopia (blue-blind)
#51172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1047;
/* rgb */ color: rgb(77, 16, 71);
/* oklch */ color: oklch(30.4% 0.114 332.3);
Tailwind
colors: {
  custom: {
    50: '#81557a',
    500: '#4d1047',
    950: '#000000',
  },
}
SCSS
$custom: #4d1047;
$custom-light: #81557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1047",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 305.902,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30358,
    "c": 0.11356,
    "h": 332.3
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#4D1047
secondary
#32873A
accent
#E9503F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1047

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

Preview Lab → · Contrast checker → · Palette generator →

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