#4F1666#4F1666

#4F1666 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.136 H 314.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#4F1666
RGBrgb(79, 22, 102)
HSLhsl(283, 65%, 24%)
HSVhsv(283, 78%, 40%)
CMYKcmyk(22.5%, 78.4%, 0%, 60%)
CIE-LABlab(20.81, 39.41, -34.69)
CIE-LCHlch(20.81, 52.51, 318.64°)
OKLaboklab(33.49% 0.0949 -0.0979)
OKLCHoklch(33.49% 0.136 314.1)
XYZxyz(5.9092, 3.1956, 12.8733)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1666 #2D6616
analogous
#271666 #4F1666 #661655
triadic
#4F1666 #664F16 #16664F
tetradic
#4F1666 #662716 #2D6616 #165566
square
#4F1666 #662716 #2D6616 #165566
split-complementary
#4F1666 #556616 #166627
monochromatic
#130519 #280B34 #4F1666 #762198 #9D2CCB

Accessibility & contrast

On white

12.81
#4F1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1666
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1666#FFFFFF#000000##FFFFFF
##4F16661.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#103364
Tritanopia (blue-blind)
#4D283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1666;
/* rgb */ color: rgb(79, 22, 102);
/* oklch */ color: oklch(33.5% 0.136 314.1);
Tailwind
colors: {
  custom: {
    50: '#845a92',
    500: '#4f1666',
    950: '#000000',
  },
}
SCSS
$custom: #4f1666;
$custom-light: #845a92;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1666",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 282.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33487,
    "c": 0.13635,
    "h": 314.1
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#4F1666
secondary
#579D3B
accent
#E84070
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1666

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

Preview Lab → · Contrast checker → · Palette generator →

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