#4F1656#4F1656

#4F1656 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.120 H 323.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4F1656
RGBrgb(79, 22, 86)
HSLhsl(293, 59%, 21%)
HSVhsv(293, 74%, 34%)
CMYKcmyk(8.1%, 74.4%, 0%, 66.3%)
CIE-LABlab(19.67, 35.94, -25.91)
CIE-LCHlch(19.67, 44.30, 324.21°)
OKLaboklab(32.31% 0.0963 -0.0722)
OKLCHoklch(32.31% 0.12 323.2)
XYZxyz(5.1909, 2.9083, 9.0902)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1656 #1D5616
analogous
#2F1656 #4F1656 #56163D
triadic
#4F1656 #564F16 #16564F
tetradic
#4F1656 #562F16 #1D5616 #163D56
square
#4F1656 #562F16 #1D5616 #163D56
split-complementary
#4F1656 #3D5616 #16562F
monochromatic
#160618 #220A25 #4F1656 #7C2287 #A92FB7

Accessibility & contrast

On white

13.28
#4F1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1656
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1656#FFFFFF#000000##FFFFFF
##4F16561.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B58
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#502134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1656;
/* rgb */ color: rgb(79, 22, 86);
/* oklch */ color: oklch(32.3% 0.120 323.2);
Tailwind
colors: {
  custom: {
    50: '#835986',
    500: '#4f1656',
    950: '#000000',
  },
}
SCSS
$custom: #4f1656;
$custom-light: #835986;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1656",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 293.438,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.12039,
    "h": 323.2
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#4F1656
secondary
#448D3A
accent
#E24557
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1656

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

Preview Lab → · Contrast checker → · Palette generator →

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