#4F1566#4F1566

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

Color values

HEX#4F1566
RGBrgb(79, 21, 102)
HSLhsl(283, 66%, 24%)
HSVhsv(283, 79%, 40%)
CMYKcmyk(22.5%, 79.4%, 0%, 60%)
CIE-LABlab(20.67, 39.82, -34.93)
CIE-LCHlch(20.67, 52.97, 318.75°)
OKLaboklab(33.38% 0.0959 -0.0986)
OKLCHoklch(33.38% 0.138 314.2)
XYZxyz(5.8905, 3.1581, 12.8671)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1566 #2C6615
analogous
#271566 #4F1566 #661555
triadic
#4F1566 #664F15 #15664F
tetradic
#4F1566 #662715 #2C6615 #155566
square
#4F1566 #662715 #2C6615 #155566
split-complementary
#4F1566 #556615 #156627
monochromatic
#140519 #280B33 #4F1566 #761F99 #9E2ACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1566#FFFFFF#000000##FFFFFF
##4F15661.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)
#002F68
Deuteranopia (green-blind)
#0F3364
Tritanopia (blue-blind)
#4D273D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1566;
/* rgb */ color: rgb(79, 21, 102);
/* oklch */ color: oklch(33.4% 0.138 314.2);
Tailwind
colors: {
  custom: {
    50: '#845992',
    500: '#4f1566',
    950: '#000000',
  },
}
SCSS
$custom: #4f1566;
$custom-light: #845992;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1566",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 282.963,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33384,
    "c": 0.13756,
    "h": 314.2
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#4F1566
secondary
#569D3A
accent
#E93F6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1566

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

Preview Lab → · Contrast checker → · Palette generator →

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