#4D1D64#4D1D64

#4D1D64 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.124 H 312.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4D1D64
RGBrgb(77, 29, 100)
HSLhsl(281, 55%, 25%)
HSVhsv(281, 71%, 39%)
CMYKcmyk(23%, 71%, 0%, 60.8%)
CIE-LABlab(21.49, 35.24, -32.30)
CIE-LCHlch(21.49, 47.80, 317.49°)
OKLaboklab(33.86% 0.0842 -0.091)
OKLCHoklch(33.86% 0.124 312.8)
XYZxyz(5.7998, 3.3768, 12.4004)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D64 #34641D
analogous
#291D64 #4D1D64 #641D58
triadic
#4D1D64 #644D1D #1D644D
tetradic
#4D1D64 #64291D #34641D #1D5864
square
#4D1D64 #64291D #34641D #1D5864
split-complementary
#4D1D64 #58641D #1D6429
monochromatic
#120718 #280F35 #4D1D64 #722B93 #9639C3

Accessibility & contrast

On white

12.53
#4D1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4D1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D64
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D64#FFFFFF#000000##FFFFFF
##4D1D641.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#173562
Tritanopia (blue-blind)
#4B2B3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4d1d64;
/* rgb */ color: rgb(77, 29, 100);
/* oklch */ color: oklch(33.9% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#825d91',
    500: '#4d1d64',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d64;
$custom-light: #825d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d64",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 280.563,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.12399,
    "h": 312.8
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#4D1D64
secondary
#5F9944
accent
#DE497A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4D1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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