#4F1564#4F1564

#4F1564 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 315.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#4F1564
RGBrgb(79, 21, 100)
HSLhsl(284, 65%, 24%)
HSVhsv(284, 79%, 39%)
CMYKcmyk(21%, 79%, 0%, 60.8%)
CIE-LABlab(20.51, 39.38, -33.86)
CIE-LCHlch(20.51, 51.93, 319.31°)
OKLaboklab(33.23% 0.0962 -0.0955)
OKLCHoklch(33.23% 0.136 315.2)
XYZxyz(5.7925, 3.1189, 12.3510)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1564 #2A6415
analogous
#271564 #4F1564 #641551
triadic
#4F1564 #644F15 #15644F
tetradic
#4F1564 #642715 #2A6415 #155164
square
#4F1564 #642715 #2A6415 #155164
split-complementary
#4F1564 #516415 #156427
monochromatic
#140519 #270A31 #4F1564 #772097 #9F2AC9

Accessibility & contrast

On white

12.93
#4F1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1564
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1564#FFFFFF#000000##FFFFFF
##4F15641.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1564;
/* rgb */ color: rgb(79, 21, 100);
/* oklch */ color: oklch(33.2% 0.136 315.2);
Tailwind
colors: {
  custom: {
    50: '#845991',
    500: '#4f1564',
    950: '#000000',
  },
}
SCSS
$custom: #4f1564;
$custom-light: #845991;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1564",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 284.051,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.13555,
    "h": 315.2
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#4F1564
secondary
#549B3A
accent
#E8406C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1564

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

Preview Lab → · Contrast checker → · Palette generator →

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