#4F116F#4F116F

#4F116F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.151 H 310.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4F116F
RGBrgb(79, 17, 111)
HSLhsl(280, 73%, 25%)
HSVhsv(280, 85%, 44%)
CMYKcmyk(28.8%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.87, 43.36, -40.46)
CIE-LCHlch(20.87, 59.31, 316.98°)
OKLaboklab(33.76% 0.0976 -0.1148)
OKLCHoklch(33.76% 0.151 310.4)
XYZxyz(6.2936, 3.2110, 15.3241)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F116F #316F11
analogous
#20116F #4F116F #6F1160
triadic
#4F116F #6F4F11 #116F4F
tetradic
#4F116F #6F2011 #316F11 #11606F
square
#4F116F #6F2011 #316F11 #11606F
split-complementary
#4F116F #606F11 #116F20
monochromatic
#13041B #29093A #4F116F #7519A4 #9B21D9

Accessibility & contrast

On white

12.79
#4F116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F116F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F116F#FFFFFF#000000##FFFFFF
##4F116F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#4A2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f116f;
/* rgb */ color: rgb(79, 17, 111);
/* oklch */ color: oklch(33.8% 0.151 310.4);
Tailwind
colors: {
  custom: {
    50: '#855899',
    500: '#4f116f',
    950: '#000000',
  },
}
SCSS
$custom: #4f116f;
$custom-light: #855899;
$custom-dark: #000000;
JSON
{
  "hex": "#4f116f",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 279.574,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33756,
    "c": 0.15072,
    "h": 310.4
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#4F116F
secondary
#5CA635
accent
#F03876
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F116F

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

Preview Lab → · Contrast checker → · Palette generator →

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