#4D0F52#4D0F52

#4D0F52 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.125 H 324.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4D0F52
RGBrgb(77, 15, 82)
HSLhsl(296, 69%, 19%)
HSVhsv(296, 82%, 32%)
CMYKcmyk(6.1%, 81.7%, 0%, 67.8%)
CIE-LABlab(18.05, 37.46, -25.82)
CIE-LCHlch(18.05, 45.50, 325.43°)
OKLaboklab(30.99% 0.1017 -0.0719)
OKLCHoklch(30.99% 0.125 324.7)
XYZxyz(4.7543, 2.5289, 8.2187)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F52 #14520F
analogous
#2C0F52 #4D0F52 #520F36
triadic
#4D0F52 #524D0F #0F524D
tetradic
#4D0F52 #522C0F #14520F #0F3652
square
#4D0F52 #522C0F #14520F #0F3652
split-complementary
#4D0F52 #36520F #0F522C
monochromatic
#18051A #1C061E #4D0F52 #7E1886 #AE22B9

Accessibility & contrast

On white

13.95
#4D0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F52
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F52#FFFFFF#000000##FFFFFF
##4D0F521.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0f52;
/* rgb */ color: rgb(77, 15, 82);
/* oklch */ color: oklch(31.0% 0.125 324.7);
Tailwind
colors: {
  custom: {
    50: '#825583',
    500: '#4d0f52',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f52;
$custom-light: #825583;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f52",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 295.522,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.12455,
    "h": 324.7
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#4D0F52
secondary
#388C31
accent
#EC3C49
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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