#4F116D#4F116D

#4F116D is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.149 H 311.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#4F116D
RGBrgb(79, 17, 109)
HSLhsl(280, 73%, 25%)
HSVhsv(280, 84%, 43%)
CMYKcmyk(27.5%, 84.4%, 0%, 57.3%)
CIE-LABlab(20.70, 42.91, -39.44)
CIE-LCHlch(20.70, 58.28, 317.41°)
OKLaboklab(33.59% 0.0981 -0.1118)
OKLCHoklch(33.59% 0.149 311.3)
XYZxyz(6.1847, 3.1674, 14.7506)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F116D #2F6D11
analogous
#21116D #4F116D #6D115D
triadic
#4F116D #6D4F11 #116D4F
tetradic
#4F116D #6D2111 #2F6D11 #115D6D
square
#4F116D #6D2111 #2F6D11 #115D6D
split-complementary
#4F116D #5D6D11 #116D21
monochromatic
#13041A #290938 #4F116D #7519A2 #9C22D7

Accessibility & contrast

On white

12.86
#4F116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F116D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F116D#FFFFFF#000000##FFFFFF
##4F116D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#4B2840
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f116d;
/* rgb */ color: rgb(79, 17, 109);
/* oklch */ color: oklch(33.6% 0.149 311.3);
Tailwind
colors: {
  custom: {
    50: '#845897',
    500: '#4f116d',
    950: '#000000',
  },
}
SCSS
$custom: #4f116d;
$custom-light: #845897;
$custom-dark: #000000;
JSON
{
  "hex": "#4f116d",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 280.435,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.14878,
    "h": 311.3
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#4F116D
secondary
#5AA535
accent
#F03874
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F116D

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

Preview Lab → · Contrast checker → · Palette generator →

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