#4D0F4D#4D0F4D

#4D0F4D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.6% C 0.120 H 328.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4D0F4D
RGBrgb(77, 15, 77)
HSLhsl(300, 67%, 18%)
HSVhsv(300, 81%, 30%)
CMYKcmyk(0%, 80.5%, 0%, 69.8%)
CIE-LABlab(17.72, 36.50, -22.94)
CIE-LCHlch(17.72, 43.11, 327.85°)
OKLaboklab(30.65% 0.1018 -0.0636)
OKLCHoklch(30.65% 0.12 328)
XYZxyz(4.5709, 2.4556, 7.2530)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F4D #0F4D0F
analogous
#2E0F4D #4D0F4D #4D0F2E
triadic
#4D0F4D #4D4D0F #0F4D4D
tetradic
#4D0F4D #4D2E0F #0F4D0F #0F2E4D
square
#4D0F4D #4D2E0F #0F4D0F #0F2E4D
split-complementary
#4D0F4D #2E4D0F #0F4D2E
monochromatic
#1A051A #1A051A #4D0F4D #801980 #B323B3

Accessibility & contrast

On white

14.08
#4D0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F4D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F4D#FFFFFF#000000##FFFFFF
##4D0F4D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264F
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#50192D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f4d;
/* rgb */ color: rgb(77, 15, 77);
/* oklch */ color: oklch(30.6% 0.120 328.0);
Tailwind
colors: {
  custom: {
    50: '#81557f',
    500: '#4d0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f4d;
$custom-light: #81557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f4d",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.12005,
    "h": 328
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#4D0F4D
secondary
#318731
accent
#EA3E3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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