#4F0D4A#4F0D4A

#4F0D4A is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.121 H 331.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4F0D4A
RGBrgb(79, 13, 74)
HSLhsl(305, 72%, 18%)
HSVhsv(305, 84%, 31%)
CMYKcmyk(0%, 83.5%, 6.3%, 69%)
CIE-LABlab(17.67, 37.15, -20.94)
CIE-LCHlch(17.67, 42.64, 330.60°)
OKLaboklab(30.63% 0.1063 -0.0577)
OKLCHoklch(30.63% 0.121 331.5)
XYZxyz(4.6044, 2.4449, 6.7066)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D4A #0D4F12
analogous
#330D4F #4F0D4A #4F0D29
triadic
#4F0D4A #4A4F0D #0D4A4F
tetradic
#4F0D4A #4F330D #0D4F12 #0D294F
square
#4F0D4A #4F330D #0D4F12 #0D294F
split-complementary
#4F0D4A #294F0D #0D4F33
monochromatic
#1A0419 #1A0419 #4F0D4A #84167B #B81EAC

Accessibility & contrast

On white

14.10
#4F0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D4A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D4A#FFFFFF#000000##FFFFFF
##4F0D4A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254C
Deuteranopia (green-blind)
#232E48
Tritanopia (blue-blind)
#53152B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0d4a;
/* rgb */ color: rgb(79, 13, 74);
/* oklch */ color: oklch(30.6% 0.121 331.5);
Tailwind
colors: {
  custom: {
    50: '#83557d',
    500: '#4f0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d4a;
$custom-light: #83557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d4a",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 304.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30628,
    "c": 0.1209,
    "h": 331.5
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#4F0D4A
secondary
#2E8A35
accent
#EE4739
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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