#4F115F#4F115F

#4F115F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.135 H 318.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4F115F
RGBrgb(79, 17, 95)
HSLhsl(288, 70%, 22%)
HSVhsv(288, 82%, 37%)
CMYKcmyk(16.8%, 82.1%, 0%, 62.7%)
CIE-LABlab(19.60, 39.85, -32.04)
CIE-LCHlch(19.60, 51.13, 321.20°)
OKLaboklab(32.46% 0.101 -0.0901)
OKLCHoklch(32.46% 0.135 318.3)
XYZxyz(5.4902, 2.8896, 11.0928)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115F #215F11
analogous
#28115F #4F115F #5F1148
triadic
#4F115F #5F4F11 #115F4F
tetradic
#4F115F #5F2811 #215F11 #11485F
square
#4F115F #5F2811 #215F11 #11485F
split-complementary
#4F115F #485F11 #115F28
monochromatic
#16051A #24082B #4F115F #7A1A93 #A524C7

Accessibility & contrast

On white

13.31
#4F115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F115F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115F#FFFFFF#000000##FFFFFF
##4F115F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#15315D
Tritanopia (blue-blind)
#4F2238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115f;
/* rgb */ color: rgb(79, 17, 95);
/* oklch */ color: oklch(32.5% 0.135 318.3);
Tailwind
colors: {
  custom: {
    50: '#83578d',
    500: '#4f115f',
    950: '#000000',
  },
}
SCSS
$custom: #4f115f;
$custom-light: #83578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115f",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 287.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.13531,
    "h": 318.3
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#4F115F
secondary
#499834
accent
#EC3B60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F115F

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

Preview Lab → · Contrast checker → · Palette generator →

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