#4F1657#4F1657

#4F1657 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 322.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4F1657
RGBrgb(79, 22, 87)
HSLhsl(293, 60%, 21%)
HSVhsv(293, 75%, 34%)
CMYKcmyk(9.2%, 74.7%, 0%, 65.9%)
CIE-LABlab(19.74, 36.15, -26.47)
CIE-LCHlch(19.74, 44.80, 323.78°)
OKLaboklab(32.38% 0.0963 -0.0738)
OKLCHoklch(32.38% 0.121 322.5)
XYZxyz(5.2315, 2.9245, 9.3039)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1657 #1E5716
analogous
#2F1657 #4F1657 #57163F
triadic
#4F1657 #574F16 #16574F
tetradic
#4F1657 #572F16 #1E5716 #163F57
square
#4F1657 #572F16 #1E5716 #163F57
split-complementary
#4F1657 #3F5716 #16572F
monochromatic
#160618 #230A26 #4F1657 #7B2288 #A82FB9

Accessibility & contrast

On white

13.25
#4F1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1657
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1657#FFFFFF#000000##FFFFFF
##4F16571.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#1F3255
Tritanopia (blue-blind)
#502134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1657;
/* rgb */ color: rgb(79, 22, 87);
/* oklch */ color: oklch(32.4% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#835987',
    500: '#4f1657',
    950: '#000000',
  },
}
SCSS
$custom: #4f1657;
$custom-light: #835987;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1657",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 292.615,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.12136,
    "h": 322.5
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#4F1657
secondary
#458E3A
accent
#E34558
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1657

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

Preview Lab → · Contrast checker → · Palette generator →

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