#4F1667#4F1667

#4F1667 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.137 H 313.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4F1667
RGBrgb(79, 22, 103)
HSLhsl(282, 65%, 25%)
HSVhsv(282, 79%, 40%)
CMYKcmyk(23.3%, 78.6%, 0%, 59.6%)
CIE-LABlab(20.89, 39.64, -35.23)
CIE-LCHlch(20.89, 53.03, 318.37°)
OKLaboklab(33.57% 0.0947 -0.0995)
OKLCHoklch(33.57% 0.137 313.6)
XYZxyz(5.9591, 3.2155, 13.1361)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1667 #2E6716
analogous
#271667 #4F1667 #671657
triadic
#4F1667 #674F16 #16674F
tetradic
#4F1667 #672716 #2E6716 #165767
square
#4F1667 #672716 #2E6716 #165767
split-complementary
#4F1667 #576716 #166727
monochromatic
#130519 #280B35 #4F1667 #762199 #9C2CCC

Accessibility & contrast

On white

12.78
#4F1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1667
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1667#FFFFFF#000000##FFFFFF
##4F16671.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#0F3465
Tritanopia (blue-blind)
#4D283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1667;
/* rgb */ color: rgb(79, 22, 103);
/* oklch */ color: oklch(33.6% 0.137 313.6);
Tailwind
colors: {
  custom: {
    50: '#845a93',
    500: '#4f1667',
    950: '#000000',
  },
}
SCSS
$custom: #4f1667;
$custom-light: #845a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1667",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 282.222,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.13737,
    "h": 313.6
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#4F1667
secondary
#589E3B
accent
#E84072
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1667

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

Preview Lab → · Contrast checker → · Palette generator →

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