#4F1665#4F1665

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

Color values

HEX#4F1665
RGBrgb(79, 22, 101)
HSLhsl(283, 64%, 24%)
HSVhsv(283, 78%, 40%)
CMYKcmyk(21.8%, 78.2%, 0%, 60.4%)
CIE-LABlab(20.73, 39.18, -34.16)
CIE-LCHlch(20.73, 51.98, 318.92°)
OKLaboklab(33.41% 0.095 -0.0964)
OKLCHoklch(33.41% 0.135 314.6)
XYZxyz(5.8599, 3.1759, 12.6137)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1665 #2C6516
analogous
#281665 #4F1665 #651654
triadic
#4F1665 #654F16 #16654F
tetradic
#4F1665 #652816 #2C6516 #165465
square
#4F1665 #652816 #2C6516 #165465
split-complementary
#4F1665 #546516 #166528
monochromatic
#140519 #280B33 #4F1665 #762197 #9E2CCA

Accessibility & contrast

On white

12.84
#4F1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1665
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1665#FFFFFF#000000##FFFFFF
##4F16651.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1665;
/* rgb */ color: rgb(79, 22, 101);
/* oklch */ color: oklch(33.4% 0.135 314.6);
Tailwind
colors: {
  custom: {
    50: '#845a91',
    500: '#4f1665',
    950: '#000000',
  },
}
SCSS
$custom: #4f1665;
$custom-light: #845a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1665",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 283.291,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.13534,
    "h": 314.6
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#4F1665
secondary
#569C3B
accent
#E7416F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1665

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

Preview Lab → · Contrast checker → · Palette generator →

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