#4F0D4C#4F0D4C

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

Color values

HEX#4F0D4C
RGBrgb(79, 13, 76)
HSLhsl(303, 72%, 18%)
HSVhsv(303, 84%, 31%)
CMYKcmyk(0%, 83.5%, 3.8%, 69%)
CIE-LABlab(17.79, 37.51, -22.11)
CIE-LCHlch(17.79, 43.54, 329.48°)
OKLaboklab(30.76% 0.1063 -0.0611)
OKLCHoklch(30.76% 0.123 330.1)
XYZxyz(4.6729, 2.4723, 7.0672)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D4C #0D4F10
analogous
#310D4F #4F0D4C #4F0D2B
triadic
#4F0D4C #4C4F0D #0D4C4F
tetradic
#4F0D4C #4F310D #0D4F10 #0D2B4F
square
#4F0D4C #4F310D #0D4F10 #0D2B4F
split-complementary
#4F0D4C #2B4F0D #0D4F31
monochromatic
#1A0419 #1A0419 #4F0D4C #84167F #B81EB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F0D4C#FFFFFF#000000##FFFFFF
##4F0D4C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264E
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#52162C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0d4c;
/* rgb */ color: rgb(79, 13, 76);
/* oklch */ color: oklch(30.8% 0.123 330.1);
Tailwind
colors: {
  custom: {
    50: '#83557e',
    500: '#4f0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d4c;
$custom-light: #83557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d4c",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 302.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.12259,
    "h": 330.1
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#4F0D4C
secondary
#2E8A32
accent
#EE4239
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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