#4C196D#4C196D

#4C196D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.139 H 308.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4C196D
RGBrgb(76, 25, 109)
HSLhsl(276, 63%, 26%)
HSVhsv(276, 77%, 43%)
CMYKcmyk(30.3%, 77.1%, 0%, 57.3%)
CIE-LABlab(21.34, 39.10, -38.42)
CIE-LCHlch(21.34, 54.82, 315.50°)
OKLaboklab(33.94% 0.0862 -0.109)
OKLCHoklch(33.94% 0.139 308.3)
XYZxyz(6.0879, 3.3360, 14.7882)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C196D #3A6D19
analogous
#22196D #4C196D #6D1964
triadic
#4C196D #6D4C19 #196D4C
tetradic
#4C196D #6D2219 #3A6D19 #19646D
square
#4C196D #6D2219 #3A6D19 #19646D
split-complementary
#4C196D #646D19 #196D22
monochromatic
#110619 #290E3B #4C196D #6F249F #9131D0

Accessibility & contrast

On white

12.60
#4C196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4C196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C196D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C196D#FFFFFF#000000##FFFFFF
##4C196D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00346B
Tritanopia (blue-blind)
#472D41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c196d;
/* rgb */ color: rgb(76, 25, 109);
/* oklch */ color: oklch(33.9% 0.139 308.3);
Tailwind
colors: {
  custom: {
    50: '#825b97',
    500: '#4c196d',
    950: '#000000',
  },
}
SCSS
$custom: #4c196d;
$custom-light: #825b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4c196d",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 276.429,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33938,
    "c": 0.13894,
    "h": 308.3
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#4C196D
secondary
#66A23F
accent
#E64282
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C196D

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

Preview Lab → · Contrast checker → · Palette generator →

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