#4F196A#4F196A

#4F196A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 311.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#4F196A
RGBrgb(79, 25, 106)
HSLhsl(280, 62%, 26%)
HSVhsv(280, 76%, 42%)
CMYKcmyk(25.5%, 76.4%, 0%, 58.4%)
CIE-LABlab(21.57, 39.03, -36.08)
CIE-LCHlch(21.57, 53.15, 317.25°)
OKLaboklab(34.12% 0.0911 -0.102)
OKLCHoklch(34.12% 0.137 311.8)
XYZxyz(6.1731, 3.3983, 13.9636)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F196A #346A19
analogous
#26196A #4F196A #6A195C
triadic
#4F196A #6A4F19 #196A4F
tetradic
#4F196A #6A2619 #346A19 #195C6A
square
#4F196A #6A2619 #346A19 #195C6A
split-complementary
#4F196A #5C6A19 #196A26
monochromatic
#120619 #2A0D38 #4F196A #74259C #9930CD

Accessibility & contrast

On white

12.50
#4F196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4F196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F196A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F196A#FFFFFF#000000##FFFFFF
##4F196A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#0E3568
Tritanopia (blue-blind)
#4C2B40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f196a;
/* rgb */ color: rgb(79, 25, 106);
/* oklch */ color: oklch(34.1% 0.137 311.8);
Tailwind
colors: {
  custom: {
    50: '#845b95',
    500: '#4f196a',
    950: '#000000',
  },
}
SCSS
$custom: #4f196a;
$custom-light: #845b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4f196a",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 280,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34124,
    "c": 0.13673,
    "h": 311.8
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#4F196A
secondary
#5FA03F
accent
#E54379
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F196A

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

Preview Lab → · Contrast checker → · Palette generator →

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