#4F116C#4F116C

#4F116C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.5% C 0.148 H 311.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4F116C
RGBrgb(79, 17, 108)
HSLhsl(281, 73%, 25%)
HSVhsv(281, 84%, 42%)
CMYKcmyk(26.9%, 84.3%, 0%, 57.6%)
CIE-LABlab(20.62, 42.68, -38.92)
CIE-LCHlch(20.62, 57.77, 317.64°)
OKLaboklab(33.5% 0.0984 -0.1103)
OKLCHoklch(33.5% 0.148 311.7)
XYZxyz(6.1312, 3.1460, 14.4687)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F116C #2E6C11
analogous
#22116C #4F116C #6C115C
triadic
#4F116C #6C4F11 #116C4F
tetradic
#4F116C #6C2211 #2E6C11 #115C6C
square
#4F116C #6C2211 #2E6C11 #115C6C
split-complementary
#4F116C #5C6C11 #116C22
monochromatic
#13041A #280937 #4F116C #7619A1 #9C22D6

Accessibility & contrast

On white

12.89
#4F116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F116C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F116C#FFFFFF#000000##FFFFFF
##4F116C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#4B283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f116c;
/* rgb */ color: rgb(79, 17, 108);
/* oklch */ color: oklch(33.5% 0.148 311.7);
Tailwind
colors: {
  custom: {
    50: '#845897',
    500: '#4f116c',
    950: '#000000',
  },
}
SCSS
$custom: #4f116c;
$custom-light: #845897;
$custom-dark: #000000;
JSON
{
  "hex": "#4f116c",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 280.879,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.14781,
    "h": 311.7
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#4F116C
secondary
#58A435
accent
#EF3873
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F116C

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

Preview Lab → · Contrast checker → · Palette generator →

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