#4F1647#4F1647

#4F1647 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.106 H 333.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4F1647
RGBrgb(79, 22, 71)
HSLhsl(308, 56%, 20%)
HSVhsv(308, 72%, 31%)
CMYKcmyk(0%, 72.2%, 10.1%, 69%)
CIE-LABlab(18.76, 33.01, -17.15)
CIE-LCHlch(18.76, 37.20, 332.55°)
OKLaboklab(31.36% 0.0955 -0.0469)
OKLCHoklch(31.36% 0.106 333.9)
XYZxyz(4.6487, 2.6914, 6.2347)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1647 #164F1E
analogous
#3B164F #4F1647 #4F162B
triadic
#4F1647 #474F16 #16474F
tetradic
#4F1647 #4F3B16 #164F1E #162B4F
square
#4F1647 #4F3B16 #164F1E #162B4F
split-complementary
#4F1647 #2B4F16 #164F3B
monochromatic
#180716 #1F091C #4F1647 #7F2372 #AF319D

Accessibility & contrast

On white

13.65
#4F1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1647
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1647#FFFFFF#000000##FFFFFF
##4F16471.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152848
Deuteranopia (green-blind)
#283146
Tritanopia (blue-blind)
#531A2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1647;
/* rgb */ color: rgb(79, 22, 71);
/* oklch */ color: oklch(31.4% 0.106 333.9);
Tailwind
colors: {
  custom: {
    50: '#83587a',
    500: '#4f1647',
    950: '#000000',
  },
}
SCSS
$custom: #4f1647;
$custom-light: #83587a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1647",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 308.421,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.1064,
    "h": 333.9
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#4F1647
secondary
#3A8645
accent
#E05D48
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F1647

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

Preview Lab → · Contrast checker → · Palette generator →

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