#4F1456#4F1456

#4F1456 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.123 H 323.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1456
RGBrgb(79, 20, 86)
HSLhsl(294, 62%, 21%)
HSVhsv(294, 77%, 34%)
CMYKcmyk(8.1%, 76.7%, 0%, 66.3%)
CIE-LABlab(19.37, 36.80, -26.39)
CIE-LCHlch(19.37, 45.28, 324.35°)
OKLaboklab(32.1% 0.0987 -0.0736)
OKLCHoklch(32.1% 0.123 323.3)
XYZxyz(5.1542, 2.8348, 9.0780)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1456 #1B5614
analogous
#2E1456 #4F1456 #56143C
triadic
#4F1456 #564F14 #14564F
tetradic
#4F1456 #562E14 #1B5614 #143C56
square
#4F1456 #562E14 #1B5614 #143C56
split-complementary
#4F1456 #3C5614 #14562E
monochromatic
#170619 #210824 #4F1456 #7D2088 #AA2BB9

Accessibility & contrast

On white

13.40
#4F1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1456
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1456#FFFFFF#000000##FFFFFF
##4F14561.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#1F3154
Tritanopia (blue-blind)
#502033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1456;
/* rgb */ color: rgb(79, 20, 86);
/* oklch */ color: oklch(32.1% 0.123 323.3);
Tailwind
colors: {
  custom: {
    50: '#835886',
    500: '#4f1456',
    950: '#000000',
  },
}
SCSS
$custom: #4f1456;
$custom-light: #835886;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1456",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 293.636,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.1231,
    "h": 323.3
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#4F1456
secondary
#418E38
accent
#E54254
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1456

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

Preview Lab → · Contrast checker → · Palette generator →

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