#4D1A64#4D1A64

#4D1A64 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.128 H 313.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4D1A64
RGBrgb(77, 26, 100)
HSLhsl(281, 59%, 25%)
HSVhsv(281, 74%, 39%)
CMYKcmyk(23%, 74%, 0%, 60.8%)
CIE-LABlab(20.97, 36.71, -33.14)
CIE-LCHlch(20.97, 49.46, 317.92°)
OKLaboklab(33.49% 0.0879 -0.0935)
OKLCHoklch(33.49% 0.128 313.2)
XYZxyz(5.7298, 3.2368, 12.3771)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1A64 #31641A
analogous
#281A64 #4D1A64 #641A56
triadic
#4D1A64 #644D1A #1A644D
tetradic
#4D1A64 #64281A #31641A #1A5664
square
#4D1A64 #64281A #31641A #1A5664
split-complementary
#4D1A64 #56641A #1A6428
monochromatic
#130618 #280D33 #4D1A64 #722795 #9833C5

Accessibility & contrast

On white

12.75
#4D1A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D1A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1A64
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1A64#FFFFFF#000000##FFFFFF
##4D1A641.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#143462
Tritanopia (blue-blind)
#4B293D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1a64;
/* rgb */ color: rgb(77, 26, 100);
/* oklch */ color: oklch(33.5% 0.128 313.2);
Tailwind
colors: {
  custom: {
    50: '#825b91',
    500: '#4d1a64',
    950: '#000000',
  },
}
SCSS
$custom: #4d1a64;
$custom-light: #825b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1a64",
  "rgb": {
    "r": 77,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 281.351,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.12828,
    "h": 313.2
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#4D1A64
secondary
#5C9A40
accent
#E24676
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4D1A64

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

Preview Lab → · Contrast checker → · Palette generator →

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