#4F1161#4F1161

#4F1161 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.137 H 317.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4F1161
RGBrgb(79, 17, 97)
HSLhsl(287, 70%, 22%)
HSVhsv(287, 82%, 38%)
CMYKcmyk(18.6%, 82.5%, 0%, 62%)
CIE-LABlab(19.75, 40.27, -33.12)
CIE-LCHlch(19.75, 52.14, 320.57°)
OKLaboklab(32.61% 0.1007 -0.0933)
OKLCHoklch(32.61% 0.137 317.2)
XYZxyz(5.5822, 2.9265, 11.5778)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1161 #236111
analogous
#271161 #4F1161 #61114B
triadic
#4F1161 #614F11 #11614F
tetradic
#4F1161 #612711 #236111 #114B61
square
#4F1161 #612711 #236111 #114B61
split-complementary
#4F1161 #4B6111 #116127
monochromatic
#15051A #25082D #4F1161 #791A95 #A423C9

Accessibility & contrast

On white

13.25
#4F1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1161
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1161#FFFFFF#000000##FFFFFF
##4F11611.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#13325F
Tritanopia (blue-blind)
#4E2339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1161;
/* rgb */ color: rgb(79, 17, 97);
/* oklch */ color: oklch(32.6% 0.137 317.2);
Tailwind
colors: {
  custom: {
    50: '#84578e',
    500: '#4f1161',
    950: '#000000',
  },
}
SCSS
$custom: #4f1161;
$custom-light: #84578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1161",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 286.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.13722,
    "h": 317.2
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#4F1161
secondary
#4B9934
accent
#ED3B63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1161

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

Preview Lab → · Contrast checker → · Palette generator →

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