#4D0F4F#4D0F4F

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

Color values

HEX#4D0F4F
RGBrgb(77, 15, 79)
HSLhsl(298, 68%, 18%)
HSVhsv(298, 81%, 31%)
CMYKcmyk(2.5%, 81%, 0%, 69%)
CIE-LABlab(17.85, 36.88, -24.10)
CIE-LCHlch(17.85, 44.05, 326.84°)
OKLaboklab(30.79% 0.1018 -0.0669)
OKLCHoklch(30.79% 0.122 326.7)
XYZxyz(4.6426, 2.4843, 7.6306)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F4F #114F0F
analogous
#2D0F4F #4D0F4F #4F0F31
triadic
#4D0F4F #4F4D0F #0F4F4D
tetradic
#4D0F4F #4F2D0F #114F0F #0F314F
square
#4D0F4F #4F2D0F #114F0F #0F314F
split-complementary
#4D0F4F #314F0F #0F4F2D
monochromatic
#19051A #1B051C #4D0F4F #7F1982 #B123B6

Accessibility & contrast

On white

14.03
#4D0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F4F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F4F#FFFFFF#000000##FFFFFF
##4D0F4F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#4F1A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0f4f;
/* rgb */ color: rgb(77, 15, 79);
/* oklch */ color: oklch(30.8% 0.122 326.7);
Tailwind
colors: {
  custom: {
    50: '#815580',
    500: '#4d0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f4f;
$custom-light: #815580;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f4f",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 298.125,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.12184,
    "h": 326.7
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#4D0F4F
secondary
#338931
accent
#EB3D42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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