#4F115D#4F115D

#4F115D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.133 H 319.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#4F115D
RGBrgb(79, 17, 93)
HSLhsl(289, 69%, 22%)
HSVhsv(289, 82%, 36%)
CMYKcmyk(15.1%, 81.7%, 0%, 63.5%)
CIE-LABlab(19.45, 39.43, -30.95)
CIE-LCHlch(19.45, 50.12, 321.87°)
OKLaboklab(32.31% 0.1012 -0.0869)
OKLCHoklch(32.31% 0.133 319.4)
XYZxyz(5.4004, 2.8537, 10.6202)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115D #1F5D11
analogous
#29115D #4F115D #5D1145
triadic
#4F115D #5D4F11 #115D4F
tetradic
#4F115D #5D2911 #1F5D11 #11455D
square
#4F115D #5D2911 #1F5D11 #11455D
split-complementary
#4F115D #455D11 #115D29
monochromatic
#16051A #230829 #4F115D #7B1A91 #A724C4

Accessibility & contrast

On white

13.37
#4F115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F115D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115D#FFFFFF#000000##FFFFFF
##4F115D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#17315B
Tritanopia (blue-blind)
#4F2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115d;
/* rgb */ color: rgb(79, 17, 93);
/* oklch */ color: oklch(32.3% 0.133 319.4);
Tailwind
colors: {
  custom: {
    50: '#83578b',
    500: '#4f115d',
    950: '#000000',
  },
}
SCSS
$custom: #4f115d;
$custom-light: #83578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115d",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 288.947,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32308,
    "c": 0.13342,
    "h": 319.4
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#4F115D
secondary
#469634
accent
#EC3C5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F115D

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

Preview Lab → · Contrast checker → · Palette generator →

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