#4F1162#4F1162

#4F1162 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.138 H 316.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4F1162
RGBrgb(79, 17, 98)
HSLhsl(286, 70%, 23%)
HSVhsv(286, 83%, 38%)
CMYKcmyk(19.4%, 82.7%, 0%, 61.6%)
CIE-LABlab(19.82, 40.49, -33.66)
CIE-LCHlch(19.82, 52.65, 320.26°)
OKLaboklab(32.69% 0.1005 -0.0948)
OKLCHoklch(32.69% 0.138 316.7)
XYZxyz(5.6292, 2.9452, 11.8249)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1162 #246211
analogous
#271162 #4F1162 #62114C
triadic
#4F1162 #624F11 #11624F
tetradic
#4F1162 #622711 #246211 #114C62
square
#4F1162 #622711 #246211 #114C62
split-complementary
#4F1162 #4C6211 #116227
monochromatic
#15051A #25082E #4F1162 #791A96 #A323CA

Accessibility & contrast

On white

13.22
#4F1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1162
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1162#FFFFFF#000000##FFFFFF
##4F11621.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#113260
Tritanopia (blue-blind)
#4E2339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1162;
/* rgb */ color: rgb(79, 17, 98);
/* oklch */ color: oklch(32.7% 0.138 316.7);
Tailwind
colors: {
  custom: {
    50: '#84578f',
    500: '#4f1162',
    950: '#000000',
  },
}
SCSS
$custom: #4f1162;
$custom-light: #84578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1162",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 285.926,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.13818,
    "h": 316.7
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#4F1162
secondary
#4C9A34
accent
#ED3B64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1162

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

Preview Lab → · Contrast checker → · Palette generator →

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