#4F1459#4F1459

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

Color values

HEX#4F1459
RGBrgb(79, 20, 89)
HSLhsl(291, 63%, 21%)
HSVhsv(291, 78%, 35%)
CMYKcmyk(11.2%, 77.5%, 0%, 65.1%)
CIE-LABlab(19.57, 37.42, -28.08)
CIE-LCHlch(19.57, 46.78, 323.12°)
OKLaboklab(32.31% 0.0985 -0.0785)
OKLCHoklch(32.31% 0.126 321.4)
XYZxyz(5.2776, 2.8841, 9.7280)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1459 #1E5914
analogous
#2D1459 #4F1459 #591441
triadic
#4F1459 #594F14 #14594F
tetradic
#4F1459 #592D14 #1E5914 #144159
square
#4F1459 #592D14 #1E5914 #144159
split-complementary
#4F1459 #415914 #14592D
monochromatic
#160619 #230927 #4F1459 #7B1F8B #A82ABD

Accessibility & contrast

On white

13.32
#4F1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1459
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1459#FFFFFF#000000##FFFFFF
##4F14591.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#502135
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1459;
/* rgb */ color: rgb(79, 20, 89);
/* oklch */ color: oklch(32.3% 0.126 321.4);
Tailwind
colors: {
  custom: {
    50: '#835888',
    500: '#4f1459',
    950: '#000000',
  },
}
SCSS
$custom: #4f1459;
$custom-light: #835888;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1459",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 291.304,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.12598,
    "h": 321.4
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#4F1459
secondary
#459138
accent
#E64159
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1459

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

Preview Lab → · Contrast checker → · Palette generator →

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