#4F0D46#4F0D46

#4F0D46 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.118 H 334.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#4F0D46
RGBrgb(79, 13, 70)
HSLhsl(308, 72%, 18%)
HSVhsv(308, 84%, 31%)
CMYKcmyk(0%, 83.5%, 11.4%, 69%)
CIE-LABlab(17.43, 36.45, -18.56)
CIE-LCHlch(17.43, 40.90, 333.02°)
OKLaboklab(30.38% 0.1061 -0.0508)
OKLCHoklch(30.38% 0.118 334.4)
XYZxyz(4.4739, 2.3927, 6.0194)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D46 #0D4F16
analogous
#370D4F #4F0D46 #4F0D25
triadic
#4F0D46 #464F0D #0D464F
tetradic
#4F0D46 #4F370D #0D4F16 #0D254F
square
#4F0D46 #4F370D #0D4F16 #0D254F
split-complementary
#4F0D46 #254F0D #0D4F37
monochromatic
#1A0417 #1A0417 #4F0D46 #841675 #B81EA3

Accessibility & contrast

On white

14.20
#4F0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F0D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D46
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D46#FFFFFF#000000##FFFFFF
##4F0D461.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#531329
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0d46;
/* rgb */ color: rgb(79, 13, 70);
/* oklch */ color: oklch(30.4% 0.118 334.4);
Tailwind
colors: {
  custom: {
    50: '#835479',
    500: '#4f0d46',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d46;
$custom-light: #835479;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d46",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 308.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.11762,
    "h": 334.4
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#4F0D46
secondary
#2E8A3A
accent
#EE5239
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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