#4F2147#4F2147

#4F2147 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.088 H 334.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4F2147
RGBrgb(79, 33, 71)
HSLhsl(310, 41%, 22%)
HSVhsv(310, 58%, 31%)
CMYKcmyk(0%, 58.2%, 10.1%, 69%)
CIE-LABlab(20.85, 27.33, -13.91)
CIE-LCHlch(20.85, 30.67, 333.03°)
OKLaboklab(32.89% 0.079 -0.0377)
OKLCHoklch(32.89% 0.088 334.5)
XYZxyz(4.9056, 3.2052, 6.3203)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2147 #214F29
analogous
#40214F #4F2147 #4F2130
triadic
#4F2147 #474F21 #21474F
tetradic
#4F2147 #4F4021 #214F29 #21304F
square
#4F2147 #4F4021 #214F29 #21304F
split-complementary
#4F2147 #304F21 #214F40
monochromatic
#160913 #240F20 #4F2147 #7A336E #A54595

Accessibility & contrast

On white

12.80
#4F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2147
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2147#FFFFFF#000000##FFFFFF
##4F21471.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E48
Deuteranopia (green-blind)
#2E3546
Tritanopia (blue-blind)
#532430
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f2147;
/* rgb */ color: rgb(79, 33, 71);
/* oklch */ color: oklch(32.9% 0.088 334.5);
Tailwind
colors: {
  custom: {
    50: '#825f7a',
    500: '#4f2147',
    950: '#000000',
  },
}
SCSS
$custom: #4f2147;
$custom-light: #825f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2147",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 310.435,
    "s": 41.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32889,
    "c": 0.08751,
    "h": 334.5
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#4F2147
secondary
#498353
accent
#D16C57
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F2147

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

Preview Lab → · Contrast checker → · Palette generator →

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