#4F2F4E#4F2F4E

#4F2F4E is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.7% C 0.067 H 328.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4F2F4E
RGBrgb(79, 47, 78)
HSLhsl(302, 25%, 25%)
HSVhsv(302, 41%, 31%)
CMYKcmyk(0%, 40.5%, 1.3%, 69%)
CIE-LABlab(24.47, 20.32, -13.04)
CIE-LCHlch(24.47, 24.14, 327.30°)
OKLaboklab(35.7% 0.0566 -0.0354)
OKLCHoklch(35.7% 0.067 328)
XYZxyz(5.6160, 4.2456, 7.7299)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F4E #2F4F30
analogous
#402F4F #4F2F4E #4F2F3E
triadic
#4F2F4E #4E4F2F #2F4E4F
tetradic
#4F2F4E #4F402F #2F4F30 #2F3E4F
square
#4F2F4E #4F402F #2F4F30 #2F3E4F
split-complementary
#4F2F4E #3E4F2F #2F4F40
monochromatic
#130B13 #291828 #4F2F4E #754674 #9C5D9A

Accessibility & contrast

On white

11.36
#4F2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F4E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F4E#FFFFFF#000000##FFFFFF
##4F2F4E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#353C4D
Tritanopia (blue-blind)
#51323B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2f4e;
/* rgb */ color: rgb(79, 47, 78);
/* oklch */ color: oklch(35.7% 0.067 328.0);
Tailwind
colors: {
  custom: {
    50: '#81687f',
    500: '#4f2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f4e;
$custom-light: #81687f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f4e",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 301.875,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.06677,
    "h": 328
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#4F2F4E
secondary
#5A805B
accent
#C26966
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4F2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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