#4F1146#4F1146

#4F1146 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.113 H 334.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#4F1146
RGBrgb(79, 17, 70)
HSLhsl(309, 65%, 19%)
HSVhsv(309, 78%, 31%)
CMYKcmyk(0%, 78.5%, 11.4%, 69%)
CIE-LABlab(17.94, 34.98, -17.74)
CIE-LCHlch(17.94, 39.22, 333.10°)
OKLaboklab(30.75% 0.1017 -0.0485)
OKLCHoklch(30.75% 0.113 334.5)
XYZxyz(4.5304, 2.5057, 6.0382)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1146 #114F1A
analogous
#39114F #4F1146 #4F1127
triadic
#4F1146 #464F11 #11464F
tetradic
#4F1146 #4F3911 #114F1A #11274F
square
#4F1146 #4F3911 #114F1A #11274F
split-complementary
#4F1146 #274F11 #114F39
monochromatic
#190516 #1D0619 #4F1146 #811C73 #B4279F

Accessibility & contrast

On white

13.99
#4F1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F1146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1146
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1146#FFFFFF#000000##FFFFFF
##4F11461.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102647
Deuteranopia (green-blind)
#262F45
Tritanopia (blue-blind)
#53162A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1146;
/* rgb */ color: rgb(79, 17, 70);
/* oklch */ color: oklch(30.8% 0.113 334.5);
Tailwind
colors: {
  custom: {
    50: '#835679',
    500: '#4f1146',
    950: '#000000',
  },
}
SCSS
$custom: #4f1146;
$custom-light: #835679;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1146",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 308.71,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3075,
    "c": 0.11269,
    "h": 334.5
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#4F1146
secondary
#338840
accent
#E85940
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1146

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

Preview Lab → · Contrast checker → · Palette generator →

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