#4F1664#4F1664

#4F1664 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.134 H 315.1°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#4F1664
RGBrgb(79, 22, 100)
HSLhsl(284, 64%, 24%)
HSVhsv(284, 78%, 39%)
CMYKcmyk(21%, 78%, 0%, 60.8%)
CIE-LABlab(20.66, 38.96, -33.63)
CIE-LCHlch(20.66, 51.46, 319.20°)
OKLaboklab(33.33% 0.0952 -0.0948)
OKLCHoklch(33.33% 0.134 315.1)
XYZxyz(5.8112, 3.1564, 12.3573)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1664 #2B6416
analogous
#281664 #4F1664 #641652
triadic
#4F1664 #644F16 #16644F
tetradic
#4F1664 #642816 #2B6416 #165264
square
#4F1664 #642816 #2B6416 #165264
split-complementary
#4F1664 #526416 #166428
monochromatic
#140619 #270B32 #4F1664 #772196 #9E2CC8

Accessibility & contrast

On white

12.87
#4F1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1664
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1664#FFFFFF#000000##FFFFFF
##4F16641.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#133362
Tritanopia (blue-blind)
#4D273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1664;
/* rgb */ color: rgb(79, 22, 100);
/* oklch */ color: oklch(33.3% 0.134 315.1);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4f1664',
    950: '#000000',
  },
}
SCSS
$custom: #4f1664;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1664",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 283.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33332,
    "c": 0.13433,
    "h": 315.1
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#4F1664
secondary
#559B3B
accent
#E7416E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1664

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

Preview Lab → · Contrast checker → · Palette generator →

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