#4F2B4E#4F2B4E

#4F2B4E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.075 H 328.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4F2B4E
RGBrgb(79, 43, 78)
HSLhsl(302, 30%, 24%)
HSVhsv(302, 46%, 31%)
CMYKcmyk(0%, 45.6%, 1.3%, 69%)
CIE-LABlab(23.47, 22.82, -14.57)
CIE-LCHlch(23.47, 27.08, 327.44°)
OKLaboklab(34.96% 0.0636 -0.0397)
OKLCHoklch(34.96% 0.075 328)
XYZxyz(5.4634, 3.9403, 7.6790)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B4E #2B4F2C
analogous
#3E2B4F #4F2B4E #4F2B3C
triadic
#4F2B4E #4E4F2B #2B4E4F
tetradic
#4F2B4E #4F3E2B #2B4F2C #2B3C4F
square
#4F2B4E #4F3E2B #2B4F2C #2B3C4F
split-complementary
#4F2B4E #3C4F2B #2B4F3E
monochromatic
#140B14 #271527 #4F2B4E #774175 #9E569C

Accessibility & contrast

On white

11.74
#4F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4F2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B4E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B4E#FFFFFF#000000##FFFFFF
##4F2B4E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#323A4D
Tritanopia (blue-blind)
#512E38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2b4e;
/* rgb */ color: rgb(79, 43, 78);
/* oklch */ color: oklch(35.0% 0.075 328.0);
Tailwind
colors: {
  custom: {
    50: '#81657f',
    500: '#4f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b4e;
$custom-light: #81657f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b4e",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 301.667,
    "s": 29.508,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.07502,
    "h": 328
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#4F2B4E
secondary
#558156
accent
#C66562
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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