#4F1559#4F1559

#4F1559 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.125 H 321.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4F1559
RGBrgb(79, 21, 89)
HSLhsl(291, 62%, 22%)
HSVhsv(291, 76%, 35%)
CMYKcmyk(11.2%, 76.4%, 0%, 65.1%)
CIE-LABlab(19.72, 37.00, -27.84)
CIE-LCHlch(19.72, 46.30, 323.04°)
OKLaboklab(32.41% 0.0974 -0.0778)
OKLCHoklch(32.41% 0.125 321.4)
XYZxyz(5.2956, 2.9201, 9.7340)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1559 #1F5915
analogous
#2D1559 #4F1559 #591541
triadic
#4F1559 #594F15 #15594F
tetradic
#4F1559 #592D15 #1F5915 #154159
square
#4F1559 #592D15 #1F5915 #154159
split-complementary
#4F1559 #415915 #15592D
monochromatic
#160619 #230927 #4F1559 #7B218B #A72CBC

Accessibility & contrast

On white

13.26
#4F1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F1559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1559
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1559#FFFFFF#000000##FFFFFF
##4F15591.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#502135
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1559;
/* rgb */ color: rgb(79, 21, 89);
/* oklch */ color: oklch(32.4% 0.125 321.4);
Tailwind
colors: {
  custom: {
    50: '#835988',
    500: '#4f1559',
    950: '#000000',
  },
}
SCSS
$custom: #4f1559;
$custom-light: #835988;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1559",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 291.176,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.12468,
    "h": 321.4
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#4F1559
secondary
#469139
accent
#E5435B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1559

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

Preview Lab → · Contrast checker → · Palette generator →

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