#4F1354#4F1354

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

Color values

HEX#4F1354
RGBrgb(79, 19, 84)
HSLhsl(295, 63%, 20%)
HSVhsv(295, 77%, 33%)
CMYKcmyk(6%, 77.4%, 0%, 67.1%)
CIE-LABlab(19.09, 36.81, -25.49)
CIE-LCHlch(19.09, 44.77, 325.30°)
OKLaboklab(31.85% 0.0999 -0.0709)
OKLCHoklch(31.85% 0.123 324.6)
XYZxyz(5.0574, 2.7684, 8.6538)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1354 #185413
analogous
#2F1354 #4F1354 #541338
triadic
#4F1354 #544F13 #13544F
tetradic
#4F1354 #542F13 #185413 #133854
square
#4F1354 #542F13 #185413 #133854
split-complementary
#4F1354 #385413 #13542F
monochromatic
#170619 #200822 #4F1354 #7E1E86 #AD2AB8

Accessibility & contrast

On white

13.52
#4F1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1354
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1354#FFFFFF#000000##FFFFFF
##4F13541.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A56
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#511E32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1354;
/* rgb */ color: rgb(79, 19, 84);
/* oklch */ color: oklch(31.9% 0.123 324.6);
Tailwind
colors: {
  custom: {
    50: '#835884',
    500: '#4f1354',
    950: '#000000',
  },
}
SCSS
$custom: #4f1354;
$custom-light: #835884;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1354",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 295.385,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31853,
    "c": 0.12251,
    "h": 324.6
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#4F1354
secondary
#3D8C36
accent
#E6424E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1354

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

Preview Lab → · Contrast checker → · Palette generator →

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