#4D1048#4D1048

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

Color values

HEX#4D1048
RGBrgb(77, 16, 72)
HSLhsl(305, 66%, 18%)
HSVhsv(305, 79%, 30%)
CMYKcmyk(0%, 79.2%, 6.5%, 69.8%)
CIE-LABlab(17.54, 35.19, -19.79)
CIE-LCHlch(17.54, 40.37, 330.64°)
OKLaboklab(30.42% 0.1006 -0.0545)
OKLCHoklch(30.42% 0.114 331.6)
XYZxyz(4.4156, 2.4166, 6.3635)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1048 #104D15
analogous
#33104D #4D1048 #4D1029
triadic
#4D1048 #484D10 #10484D
tetradic
#4D1048 #4D3310 #104D15 #10294D
square
#4D1048 #4D3310 #104D15 #10294D
split-complementary
#4D1048 #294D10 #104D33
monochromatic
#190518 #1A0519 #4D1048 #801B77 #B225A7

Accessibility & contrast

On white

14.16
#4D1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1048
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1048#FFFFFF#000000##FFFFFF
##4D10481.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#232E47
Tritanopia (blue-blind)
#50172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1048;
/* rgb */ color: rgb(77, 16, 72);
/* oklch */ color: oklch(30.4% 0.114 331.6);
Tailwind
colors: {
  custom: {
    50: '#81557b',
    500: '#4d1048',
    950: '#000000',
  },
}
SCSS
$custom: #4d1048;
$custom-light: #81557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1048",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 304.918,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3042,
    "c": 0.11442,
    "h": 331.6
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4D1048
secondary
#328739
accent
#E94D3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1048

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

Preview Lab → · Contrast checker → · Palette generator →

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