#4F1160#4F1160

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

Color values

HEX#4F1160
RGBrgb(79, 17, 96)
HSLhsl(287, 70%, 22%)
HSVhsv(287, 82%, 38%)
CMYKcmyk(17.7%, 82.3%, 0%, 62.4%)
CIE-LABlab(19.67, 40.06, -32.58)
CIE-LCHlch(19.67, 51.63, 320.88°)
OKLaboklab(32.54% 0.1008 -0.0917)
OKLCHoklch(32.54% 0.136 317.7)
XYZxyz(5.5359, 2.9079, 11.3337)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1160 #226011
analogous
#281160 #4F1160 #60114A
triadic
#4F1160 #604F11 #11604F
tetradic
#4F1160 #602811 #226011 #114A60
square
#4F1160 #602811 #226011 #114A60
split-complementary
#4F1160 #4A6011 #116028
monochromatic
#15051A #24082C #4F1160 #7A1A94 #A523C8

Accessibility & contrast

On white

13.28
#4F1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1160
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1160#FFFFFF#000000##FFFFFF
##4F11601.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#14315E
Tritanopia (blue-blind)
#4E2238
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1160;
/* rgb */ color: rgb(79, 17, 96);
/* oklch */ color: oklch(32.5% 0.136 317.7);
Tailwind
colors: {
  custom: {
    50: '#84578e',
    500: '#4f1160',
    950: '#000000',
  },
}
SCSS
$custom: #4f1160;
$custom-light: #84578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1160",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 287.089,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.13626,
    "h": 317.7
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#4F1160
secondary
#4A9934
accent
#ED3B61
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F1160

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

Preview Lab → · Contrast checker → · Palette generator →

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