#4F196B#4F196B

#4F196B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.138 H 311.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#4F196B
RGBrgb(79, 25, 107)
HSLhsl(280, 62%, 26%)
HSVhsv(280, 77%, 42%)
CMYKcmyk(26.2%, 76.6%, 0%, 58%)
CIE-LABlab(21.65, 39.26, -36.60)
CIE-LCHlch(21.65, 53.68, 317.01°)
OKLaboklab(34.2% 0.0909 -0.1036)
OKLCHoklch(34.2% 0.138 311.3)
XYZxyz(6.2254, 3.4192, 14.2391)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F196B #356B19
analogous
#26196B #4F196B #6B195E
triadic
#4F196B #6B4F19 #196B4F
tetradic
#4F196B #6B2619 #356B19 #195E6B
square
#4F196B #6B2619 #356B19 #195E6B
split-complementary
#4F196B #5E6B19 #196B26
monochromatic
#120619 #2A0D39 #4F196B #74259D #9830CE

Accessibility & contrast

On white

12.47
#4F196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F196B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F196B#FFFFFF#000000##FFFFFF
##4F196B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#0C3569
Tritanopia (blue-blind)
#4B2B40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f196b;
/* rgb */ color: rgb(79, 25, 107);
/* oklch */ color: oklch(34.2% 0.138 311.3);
Tailwind
colors: {
  custom: {
    50: '#845c96',
    500: '#4f196b',
    950: '#000000',
  },
}
SCSS
$custom: #4f196b;
$custom-light: #845c96;
$custom-dark: #000000;
JSON
{
  "hex": "#4f196b",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 279.512,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34203,
    "c": 0.1378,
    "h": 311.3
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#4F196B
secondary
#60A13F
accent
#E5437A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F196B

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

Preview Lab → · Contrast checker → · Palette generator →

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