#4F0D47#4F0D47

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

Color values

HEX#4F0D47
RGBrgb(79, 13, 71)
HSLhsl(307, 72%, 18%)
HSVhsv(307, 84%, 31%)
CMYKcmyk(0%, 83.5%, 10.1%, 69%)
CIE-LABlab(17.49, 36.63, -19.16)
CIE-LCHlch(17.49, 41.33, 332.39°)
OKLaboklab(30.44% 0.1061 -0.0525)
OKLCHoklch(30.44% 0.118 333.7)
XYZxyz(4.5057, 2.4054, 6.1870)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D47 #0D4F15
analogous
#360D4F #4F0D47 #4F0D26
triadic
#4F0D47 #474F0D #0D474F
tetradic
#4F0D47 #4F360D #0D4F15 #0D264F
square
#4F0D47 #4F360D #0D4F15 #0D264F
split-complementary
#4F0D47 #264F0D #0D4F36
monochromatic
#1A0418 #1A0418 #4F0D47 #841676 #B81EA5

Accessibility & contrast

On white

14.18
#4F0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D47
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D47#FFFFFF#000000##FFFFFF
##4F0D471.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2549
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#531429
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0d47;
/* rgb */ color: rgb(79, 13, 71);
/* oklch */ color: oklch(30.4% 0.118 333.7);
Tailwind
colors: {
  custom: {
    50: '#83547a',
    500: '#4f0d47',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d47;
$custom-light: #83547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d47",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 307.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.11843,
    "h": 333.7
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#4F0D47
secondary
#2E8A39
accent
#EE4F39
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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