#4F1A4E#4F1A4E

#4F1A4E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.107 H 328.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4F1A4E
RGBrgb(79, 26, 78)
HSLhsl(301, 50%, 21%)
HSVhsv(301, 67%, 31%)
CMYKcmyk(0%, 67.1%, 1.3%, 69%)
CIE-LABlab(19.85, 32.44, -20.23)
CIE-LCHlch(19.85, 38.23, 328.05°)
OKLaboklab(32.28% 0.0908 -0.0557)
OKLCHoklch(32.28% 0.107 328.5)
XYZxyz(4.9689, 2.9514, 7.5142)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A4E #1A4F1B
analogous
#351A4F #4F1A4E #4F1A33
triadic
#4F1A4E #4E4F1A #1A4E4F
tetradic
#4F1A4E #4F351A #1A4F1B #1A334F
square
#4F1A4E #4F351A #1A4F1B #1A334F
split-complementary
#4F1A4E #334F1A #1A4F35
monochromatic
#170817 #210B21 #4F1A4E #7D297B #AB38A9

Accessibility & contrast

On white

13.21
#4F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A4E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A4E#FFFFFF#000000##FFFFFF
##4F1A4E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#27324D
Tritanopia (blue-blind)
#522031
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1a4e;
/* rgb */ color: rgb(79, 26, 78);
/* oklch */ color: oklch(32.3% 0.107 328.5);
Tailwind
colors: {
  custom: {
    50: '#825b80',
    500: '#4f1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a4e;
$custom-light: #825b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a4e",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 301.132,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.10657,
    "h": 328.5
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#4F1A4E
secondary
#408541
accent
#DA504E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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