#4D104A#4D104A

#4D104A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.116 H 330.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4D104A
RGBrgb(77, 16, 74)
HSLhsl(303, 66%, 18%)
HSVhsv(303, 79%, 30%)
CMYKcmyk(0%, 79.2%, 3.9%, 69.8%)
CIE-LABlab(17.66, 35.56, -20.98)
CIE-LCHlch(17.66, 41.28, 329.46°)
OKLaboklab(30.55% 0.1007 -0.0579)
OKLCHoklch(30.55% 0.116 330.1)
XYZxyz(4.4819, 2.4431, 6.7128)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D104A #104D13
analogous
#31104D #4D104A #4D102B
triadic
#4D104A #4A4D10 #104A4D
tetradic
#4D104A #4D3110 #104D13 #102B4D
square
#4D104A #4D3110 #104D13 #102B4D
split-complementary
#4D104A #2B4D10 #104D31
monochromatic
#190518 #1A0519 #4D104A #801B7B #B225AB

Accessibility & contrast

On white

14.11
#4D104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D104A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D104A#FFFFFF#000000##FFFFFF
##4D104A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264C
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#50182C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d104a;
/* rgb */ color: rgb(77, 16, 74);
/* oklch */ color: oklch(30.5% 0.116 330.1);
Tailwind
colors: {
  custom: {
    50: '#81557d',
    500: '#4d104a',
    950: '#000000',
  },
}
SCSS
$custom: #4d104a;
$custom-light: #81557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d104a",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 302.951,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.11617,
    "h": 330.1
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#4D104A
secondary
#328736
accent
#E9483F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D104A

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

Preview Lab → · Contrast checker → · Palette generator →

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