#4F1159#4F1159

#4F1159 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.130 H 321.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4F1159
RGBrgb(79, 17, 89)
HSLhsl(292, 68%, 21%)
HSVhsv(292, 81%, 35%)
CMYKcmyk(11.2%, 80.9%, 0%, 65.1%)
CIE-LABlab(19.16, 38.60, -28.74)
CIE-LCHlch(19.16, 48.12, 323.33°)
OKLaboklab(32.01% 0.1017 -0.0804)
OKLCHoklch(32.01% 0.13 321.7)
XYZxyz(5.2279, 2.7847, 9.7114)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1159 #1B5911
analogous
#2B1159 #4F1159 #59113F
triadic
#4F1159 #594F11 #11594F
tetradic
#4F1159 #592B11 #1B5911 #113F59
square
#4F1159 #592B11 #1B5911 #113F59
split-complementary
#4F1159 #3F5911 #11592B
monochromatic
#17051A #210726 #4F1159 #7D1B8C #AA25C0

Accessibility & contrast

On white

13.49
#4F1159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F1159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1159
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1159#FFFFFF#000000##FFFFFF
##4F11591.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#501F34
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1159;
/* rgb */ color: rgb(79, 17, 89);
/* oklch */ color: oklch(32.0% 0.130 321.7);
Tailwind
colors: {
  custom: {
    50: '#835788',
    500: '#4f1159',
    950: '#000000',
  },
}
SCSS
$custom: #4f1159;
$custom-light: #835788;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1159",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 291.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.12965,
    "h": 321.7
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#4F1159
secondary
#419234
accent
#EB3D55
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1159

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

Preview Lab → · Contrast checker → · Palette generator →

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