#4F114F#4F114F

#4F114F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.120 H 328.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4F114F
RGBrgb(79, 17, 79)
HSLhsl(300, 65%, 19%)
HSVhsv(300, 78%, 31%)
CMYKcmyk(0%, 78.5%, 0%, 69%)
CIE-LABlab(18.49, 36.62, -23.06)
CIE-LCHlch(18.49, 43.28, 327.80°)
OKLaboklab(31.32% 0.1022 -0.0639)
OKLCHoklch(31.32% 0.12 328)
XYZxyz(4.8361, 2.6280, 7.6482)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F114F #114F11
analogous
#30114F #4F114F #4F1130
triadic
#4F114F #4F4F11 #114F4F
tetradic
#4F114F #4F3011 #114F11 #11304F
square
#4F114F #4F3011 #114F11 #11304F
split-complementary
#4F114F #304F11 #114F30
monochromatic
#190519 #1D061D #4F114F #811C81 #B427B4

Accessibility & contrast

On white

13.77
#4F114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F114F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F114F#FFFFFF#000000##FFFFFF
##4F114F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062851
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#521A2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f114f;
/* rgb */ color: rgb(79, 17, 79);
/* oklch */ color: oklch(31.3% 0.120 328.0);
Tailwind
colors: {
  custom: {
    50: '#835680',
    500: '#4f114f',
    950: '#000000',
  },
}
SCSS
$custom: #4f114f;
$custom-light: #835680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f114f",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31316,
    "c": 0.12049,
    "h": 328
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4F114F
secondary
#338833
accent
#E84040
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F114F

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

Preview Lab → · Contrast checker → · Palette generator →

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