#4F1464#4F1464

#4F1464 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.137 H 315.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4F1464
RGBrgb(79, 20, 100)
HSLhsl(284, 67%, 24%)
HSVhsv(284, 80%, 39%)
CMYKcmyk(21%, 80%, 0%, 60.8%)
CIE-LABlab(20.37, 39.78, -34.09)
CIE-LCHlch(20.37, 52.39, 319.41°)
OKLaboklab(33.13% 0.0973 -0.0961)
OKLCHoklch(33.13% 0.137 315.3)
XYZxyz(5.7745, 3.0829, 12.3450)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1464 #296414
analogous
#271464 #4F1464 #641451
triadic
#4F1464 #644F14 #14644F
tetradic
#4F1464 #642714 #296414 #145164
square
#4F1464 #642714 #296414 #145164
split-complementary
#4F1464 #516414 #146427
monochromatic
#14051A #270A31 #4F1464 #771E97 #A028CA

Accessibility & contrast

On white

12.99
#4F1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1464
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1464#FFFFFF#000000##FFFFFF
##4F14641.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#113362
Tritanopia (blue-blind)
#4D263B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1464;
/* rgb */ color: rgb(79, 20, 100);
/* oklch */ color: oklch(33.1% 0.137 315.3);
Tailwind
colors: {
  custom: {
    50: '#845991',
    500: '#4f1464',
    950: '#000000',
  },
}
SCSS
$custom: #4f1464;
$custom-light: #845991;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1464",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 284.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.13674,
    "h": 315.3
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#4F1464
secondary
#529B38
accent
#EA3E6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1464

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

Preview Lab → · Contrast checker → · Palette generator →

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