#4D0D52#4D0D52

#4D0D52 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.127 H 324.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4D0D52
RGBrgb(77, 13, 82)
HSLhsl(296, 73%, 19%)
HSVhsv(296, 84%, 32%)
CMYKcmyk(6.1%, 84.1%, 0%, 67.8%)
CIE-LABlab(17.81, 38.16, -26.21)
CIE-LCHlch(17.81, 46.30, 325.52°)
OKLaboklab(30.82% 0.1036 -0.0731)
OKLCHoklch(30.82% 0.127 324.8)
XYZxyz(4.7274, 2.4751, 8.2098)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D52 #12520D
analogous
#2A0D52 #4D0D52 #520D34
triadic
#4D0D52 #524D0D #0D524D
tetradic
#4D0D52 #522A0D #12520D #0D3452
square
#4D0D52 #522A0D #12520D #0D3452
split-complementary
#4D0D52 #34520D #0D522A
monochromatic
#19041A #1B051D #4D0D52 #7F1587 #B01EBC

Accessibility & contrast

On white

14.05
#4D0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D52
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D52#FFFFFF#000000##FFFFFF
##4D0D521.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#1C2E50
Tritanopia (blue-blind)
#4F1A2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0d52;
/* rgb */ color: rgb(77, 13, 82);
/* oklch */ color: oklch(30.8% 0.127 324.8);
Tailwind
colors: {
  custom: {
    50: '#825583',
    500: '#4d0d52',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d52;
$custom-light: #825583;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d52",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 295.652,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30821,
    "c": 0.12677,
    "h": 324.8
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#4D0D52
secondary
#358D2E
accent
#EF3846
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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