#4F1B4E#4F1B4E

#4F1B4E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.105 H 328.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4F1B4E
RGBrgb(79, 27, 78)
HSLhsl(301, 49%, 21%)
HSVhsv(301, 66%, 31%)
CMYKcmyk(0%, 65.8%, 1.3%, 69%)
CIE-LABlab(20.03, 31.94, -19.94)
CIE-LCHlch(20.03, 37.65, 328.02°)
OKLaboklab(32.41% 0.0894 -0.0549)
OKLCHoklch(32.41% 0.105 328.4)
XYZxyz(4.9915, 2.9965, 7.5217)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B4E #1B4F1C
analogous
#361B4F #4F1B4E #4F1B34
triadic
#4F1B4E #4E4F1B #1B4E4F
tetradic
#4F1B4E #4F361B #1B4F1C #1B344F
square
#4F1B4E #4F361B #1B4F1C #1B344F
split-complementary
#4F1B4E #344F1B #1B4F36
monochromatic
#170817 #210B21 #4F1B4E #7D2B7B #AA3AA8

Accessibility & contrast

On white

13.13
#4F1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B4E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B4E#FFFFFF#000000##FFFFFF
##4F1B4E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#522131
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1b4e;
/* rgb */ color: rgb(79, 27, 78);
/* oklch */ color: oklch(32.4% 0.105 328.4);
Tailwind
colors: {
  custom: {
    50: '#825b80',
    500: '#4f1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b4e;
$custom-light: #825b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b4e",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 301.154,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.10493,
    "h": 328.4
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4F1B4E
secondary
#418542
accent
#D9524F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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