#4F196F#4F196F

#4F196F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.142 H 309.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#4F196F
RGBrgb(79, 25, 111)
HSLhsl(278, 63%, 27%)
HSVhsv(278, 77%, 44%)
CMYKcmyk(28.8%, 77.5%, 0%, 56.5%)
CIE-LABlab(21.96, 40.21, -38.69)
CIE-LCHlch(21.96, 55.80, 316.10°)
OKLaboklab(34.52% 0.0902 -0.1097)
OKLCHoklch(34.52% 0.142 309.4)
XYZxyz(6.4407, 3.5053, 15.3731)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F196F #396F19
analogous
#24196F #4F196F #6F1964
triadic
#4F196F #6F4F19 #196F4F
tetradic
#4F196F #6F2419 #396F19 #19646F
square
#4F196F #6F2419 #396F19 #19646F
split-complementary
#4F196F #646F19 #196F24
monochromatic
#120619 #2B0E3D #4F196F #7324A1 #9632D1

Accessibility & contrast

On white

12.35
#4F196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4F196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F196F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F196F#FFFFFF#000000##FFFFFF
##4F196F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#03356D
Tritanopia (blue-blind)
#4A2D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f196f;
/* rgb */ color: rgb(79, 25, 111);
/* oklch */ color: oklch(34.5% 0.142 309.4);
Tailwind
colors: {
  custom: {
    50: '#845c99',
    500: '#4f196f',
    950: '#000000',
  },
}
SCSS
$custom: #4f196f;
$custom-light: #845c99;
$custom-dark: #000000;
JSON
{
  "hex": "#4f196f",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 277.674,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34524,
    "c": 0.142,
    "h": 309.4
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#4F196F
secondary
#65A43F
accent
#E6427F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F196F

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

Preview Lab → · Contrast checker → · Palette generator →

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