#4C196A#4C196A

#4C196A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.136 H 309.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4C196A
RGBrgb(76, 25, 106)
HSLhsl(278, 62%, 26%)
HSVhsv(278, 76%, 42%)
CMYKcmyk(28.3%, 76.4%, 0%, 58.4%)
CIE-LABlab(21.10, 38.37, -36.86)
CIE-LCHlch(21.10, 53.20, 316.15°)
OKLaboklab(33.69% 0.0867 -0.1044)
OKLCHoklch(33.69% 0.136 309.7)
XYZxyz(5.9291, 3.2725, 13.9522)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C196A #376A19
analogous
#23196A #4C196A #6A195F
triadic
#4C196A #6A4C19 #196A4C
tetradic
#4C196A #6A2319 #376A19 #195F6A
square
#4C196A #6A2319 #376A19 #195F6A
split-complementary
#4C196A #5F6A19 #196A23
monochromatic
#120619 #280D38 #4C196A #70259C #9330CD

Accessibility & contrast

On white

12.69
#4C196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4C196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C196A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C196A#FFFFFF#000000##FFFFFF
##4C196A1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#073368
Tritanopia (blue-blind)
#482B40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c196a;
/* rgb */ color: rgb(76, 25, 106);
/* oklch */ color: oklch(33.7% 0.136 309.7);
Tailwind
colors: {
  custom: {
    50: '#825b95',
    500: '#4c196a',
    950: '#000000',
  },
}
SCSS
$custom: #4c196a;
$custom-light: #825b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4c196a",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 277.778,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33693,
    "c": 0.13572,
    "h": 309.7
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#4C196A
secondary
#63A03F
accent
#E5437F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C196A

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

Preview Lab → · Contrast checker → · Palette generator →

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