#4F274B#4F274B

#4F274B is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.1% C 0.080 H 331.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#4F274B
RGBrgb(79, 39, 75)
HSLhsl(306, 34%, 23%)
HSVhsv(306, 51%, 31%)
CMYKcmyk(0%, 50.6%, 5.1%, 69%)
CIE-LABlab(22.38, 24.63, -14.25)
CIE-LCHlch(22.38, 28.45, 329.94°)
OKLaboklab(34.09% 0.0698 -0.0388)
OKLCHoklch(34.09% 0.08 331)
XYZxyz(5.2199, 3.6216, 7.0793)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F274B #274F2B
analogous
#3F274F #4F274B #4F2737
triadic
#4F274B #4B4F27 #274B4F
tetradic
#4F274B #4F3F27 #274F2B #27374F
square
#4F274B #4F3F27 #274F2B #27374F
split-complementary
#4F274B #374F27 #274F3F
monochromatic
#140A13 #261324 #4F274B #783B72 #A14F99

Accessibility & contrast

On white

12.18
#4F274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F274B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F274B#FFFFFF#000000##FFFFFF
##4F274B1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324C
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#522A35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f274b;
/* rgb */ color: rgb(79, 39, 75);
/* oklch */ color: oklch(34.1% 0.080 331.0);
Tailwind
colors: {
  custom: {
    50: '#81637d',
    500: '#4f274b',
    950: '#000000',
  },
}
SCSS
$custom: #4f274b;
$custom-light: #81637d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f274b",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 306,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3409,
    "c": 0.07984,
    "h": 331
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#4F274B
secondary
#508255
accent
#CA695E
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4F274B

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

Preview Lab → · Contrast checker → · Palette generator →

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