#4D1D63#4D1D63

#4D1D63 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.8% C 0.123 H 313.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4D1D63
RGBrgb(77, 29, 99)
HSLhsl(281, 55%, 25%)
HSVhsv(281, 71%, 39%)
CMYKcmyk(22.2%, 70.7%, 0%, 61.2%)
CIE-LABlab(21.42, 35.00, -31.76)
CIE-LCHlch(21.42, 47.26, 317.78°)
OKLaboklab(33.79% 0.0843 -0.0894)
OKLCHoklch(33.79% 0.123 313.3)
XYZxyz(5.7517, 3.3575, 12.1470)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D63 #33631D
analogous
#2A1D63 #4D1D63 #631D56
triadic
#4D1D63 #634D1D #1D634D
tetradic
#4D1D63 #632A1D #33631D #1D5663
square
#4D1D63 #632A1D #33631D #1D5663
split-complementary
#4D1D63 #56631D #1D632A
monochromatic
#120718 #280F34 #4D1D63 #722B92 #9739C2

Accessibility & contrast

On white

12.56
#4D1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4D1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D63
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D63#FFFFFF#000000##FFFFFF
##4D1D631.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#183461
Tritanopia (blue-blind)
#4B2B3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1d63;
/* rgb */ color: rgb(77, 29, 99);
/* oklch */ color: oklch(33.8% 0.123 313.3);
Tailwind
colors: {
  custom: {
    50: '#815d90',
    500: '#4d1d63',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d63;
$custom-light: #815d90;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d63",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 281.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.12288,
    "h": 313.3
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#4D1D63
secondary
#5E9844
accent
#DE4A78
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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