#4F1554#4F1554

#4F1554 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.1% C 0.120 H 324.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4F1554
RGBrgb(79, 21, 84)
HSLhsl(295, 60%, 21%)
HSVhsv(295, 75%, 33%)
CMYKcmyk(6%, 75%, 0%, 67.1%)
CIE-LABlab(19.39, 35.97, -25.02)
CIE-LCHlch(19.39, 43.81, 325.18°)
OKLaboklab(32.07% 0.0976 -0.0696)
OKLCHoklch(32.07% 0.12 324.5)
XYZxyz(5.0927, 2.8390, 8.6655)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1554 #1A5415
analogous
#2F1554 #4F1554 #541539
triadic
#4F1554 #544F15 #15544F
tetradic
#4F1554 #542F15 #1A5415 #153954
square
#4F1554 #542F15 #1A5415 #153954
split-complementary
#4F1554 #395415 #15542F
monochromatic
#170618 #210923 #4F1554 #7D2185 #AB2DB6

Accessibility & contrast

On white

13.39
#4F1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F1554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1554
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1554#FFFFFF#000000##FFFFFF
##4F15541.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A56
Deuteranopia (green-blind)
#213152
Tritanopia (blue-blind)
#511F32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1554;
/* rgb */ color: rgb(79, 21, 84);
/* oklch */ color: oklch(32.1% 0.120 324.5);
Tailwind
colors: {
  custom: {
    50: '#835884',
    500: '#4f1554',
    950: '#000000',
  },
}
SCSS
$custom: #4f1554;
$custom-light: #835884;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1554",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 295.238,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32065,
    "c": 0.11985,
    "h": 324.5
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#4F1554
secondary
#408C39
accent
#E34551
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1554

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

Preview Lab → · Contrast checker → · Palette generator →

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