#4F2D4E#4F2D4E

#4F2D4E is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.3% C 0.071 H 328.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4F2D4E
RGBrgb(79, 45, 78)
HSLhsl(302, 27%, 24%)
HSVhsv(302, 43%, 31%)
CMYKcmyk(0%, 43%, 1.3%, 69%)
CIE-LABlab(23.96, 21.58, -13.82)
CIE-LCHlch(23.96, 25.62, 327.37°)
OKLaboklab(35.32% 0.0601 -0.0376)
OKLCHoklch(35.32% 0.071 328)
XYZxyz(5.5379, 4.0893, 7.7039)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D4E #2D4F2E
analogous
#3F2D4F #4F2D4E #4F2D3D
triadic
#4F2D4E #4E4F2D #2D4E4F
tetradic
#4F2D4E #4F3F2D #2D4F2E #2D3D4F
square
#4F2D4E #4F3F2D #2D4F2E #2D3D4F
split-complementary
#4F2D4E #3D4F2D #2D4F3F
monochromatic
#130B13 #281728 #4F2D4E #764374 #9D599B

Accessibility & contrast

On white

11.55
#4F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D4E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D4E#FFFFFF#000000##FFFFFF
##4F2D4E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#51303A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f2d4e;
/* rgb */ color: rgb(79, 45, 78);
/* oklch */ color: oklch(35.3% 0.071 328.0);
Tailwind
colors: {
  custom: {
    50: '#81677f',
    500: '#4f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d4e;
$custom-light: #81677f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d4e",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 301.765,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.07093,
    "h": 328
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#4F2D4E
secondary
#578158
accent
#C46764
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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