#4F0C41#4F0C41

#4F0C41 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.115 H 338.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4F0C41
RGBrgb(79, 12, 65)
HSLhsl(313, 74%, 18%)
HSVhsv(313, 85%, 31%)
CMYKcmyk(0%, 84.8%, 17.7%, 69%)
CIE-LABlab(17.02, 35.96, -15.71)
CIE-LCHlch(17.02, 39.24, 336.40°)
OKLaboklab(29.99% 0.1066 -0.0427)
OKLCHoklch(29.99% 0.115 338.2)
XYZxyz(4.3102, 2.3073, 5.2184)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C41 #0C4F1A
analogous
#3B0C4F #4F0C41 #4F0C20
triadic
#4F0C41 #414F0C #0C414F
tetradic
#4F0C41 #4F3B0C #0C4F1A #0C204F
square
#4F0C41 #4F3B0C #0C4F1A #0C204F
split-complementary
#4F0C41 #204F0C #0C4F3B
monochromatic
#1B0416 #1B0416 #4F0C41 #84146D #B91C98

Accessibility & contrast

On white

14.37
#4F0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C41
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C41#FFFFFF#000000##FFFFFF
##4F0C411.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#541026
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0c41;
/* rgb */ color: rgb(79, 12, 65);
/* oklch */ color: oklch(30.0% 0.115 338.2);
Tailwind
colors: {
  custom: {
    50: '#835475',
    500: '#4f0c41',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c41;
$custom-light: #835475;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c41",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 312.537,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29994,
    "c": 0.11482,
    "h": 338.2
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#4F0C41
secondary
#2C8B40
accent
#F05E38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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