#4F2E4E#4F2E4E

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

Color values

HEX#4F2E4E
RGBrgb(79, 46, 78)
HSLhsl(302, 26%, 25%)
HSVhsv(302, 42%, 31%)
CMYKcmyk(0%, 41.8%, 1.3%, 69%)
CIE-LABlab(24.21, 20.95, -13.43)
CIE-LCHlch(24.21, 24.88, 327.33°)
OKLaboklab(35.51% 0.0584 -0.0365)
OKLCHoklch(35.51% 0.069 328)
XYZxyz(5.5765, 4.1666, 7.7167)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E4E #2E4F2F
analogous
#402E4F #4F2E4E #4F2E3E
triadic
#4F2E4E #4E4F2E #2E4E4F
tetradic
#4F2E4E #4F402E #2E4F2F #2E3E4F
square
#4F2E4E #4F402E #2E4F2F #2E3E4F
split-complementary
#4F2E4E #3E4F2E #2E4F40
monochromatic
#130B13 #281728 #4F2E4E #764574 #9C5B9A

Accessibility & contrast

On white

11.46
#4F2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E4E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E4E#FFFFFF#000000##FFFFFF
##4F2E4E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#343B4D
Tritanopia (blue-blind)
#51313A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2e4e;
/* rgb */ color: rgb(79, 46, 78);
/* oklch */ color: oklch(35.5% 0.069 328.0);
Tailwind
colors: {
  custom: {
    50: '#81677f',
    500: '#4f2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e4e;
$custom-light: #81677f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e4e",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 301.818,
    "s": 26.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35511,
    "c": 0.06885,
    "h": 328
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#4F2E4E
secondary
#58805A
accent
#C36865
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4F2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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