#4F196D#4F196D

#4F196D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.140 H 310.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4F196D
RGBrgb(79, 25, 109)
HSLhsl(279, 63%, 26%)
HSVhsv(279, 77%, 43%)
CMYKcmyk(27.5%, 77.1%, 0%, 57.3%)
CIE-LABlab(21.81, 39.74, -37.65)
CIE-LCHlch(21.81, 54.74, 316.54°)
OKLaboklab(34.36% 0.0906 -0.1066)
OKLCHoklch(34.36% 0.14 310.3)
XYZxyz(6.3319, 3.4618, 14.7997)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F196D #376D19
analogous
#25196D #4F196D #6D1961
triadic
#4F196D #6D4F19 #196D4F
tetradic
#4F196D #6D2519 #376D19 #19616D
square
#4F196D #6D2519 #376D19 #19616D
split-complementary
#4F196D #616D19 #196D25
monochromatic
#120619 #2B0E3B #4F196D #73249F #9731D0

Accessibility & contrast

On white

12.41
#4F196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F196D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F196D#FFFFFF#000000##FFFFFF
##4F196D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#4B2C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f196d;
/* rgb */ color: rgb(79, 25, 109);
/* oklch */ color: oklch(34.4% 0.140 310.3);
Tailwind
colors: {
  custom: {
    50: '#845c97',
    500: '#4f196d',
    950: '#000000',
  },
}
SCSS
$custom: #4f196d;
$custom-light: #845c97;
$custom-dark: #000000;
JSON
{
  "hex": "#4f196d",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 278.571,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34363,
    "c": 0.1399,
    "h": 310.3
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#4F196D
secondary
#63A23F
accent
#E6427D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F196D

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

Preview Lab → · Contrast checker → · Palette generator →

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