#4C196F#4C196F

#4C196F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.141 H 307.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#4C196F
RGBrgb(76, 25, 111)
HSLhsl(276, 63%, 27%)
HSVhsv(276, 77%, 44%)
CMYKcmyk(31.5%, 77.5%, 0%, 56.5%)
CIE-LABlab(21.50, 39.59, -39.46)
CIE-LCHlch(21.50, 55.89, 315.09°)
OKLaboklab(34.1% 0.0858 -0.112)
OKLCHoklch(34.1% 0.141 307.4)
XYZxyz(6.1968, 3.3795, 15.3617)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C196F #3C6F19
analogous
#21196F #4C196F #6F1967
triadic
#4C196F #6F4C19 #196F4C
tetradic
#4C196F #6F2119 #3C6F19 #19676F
square
#4C196F #6F2119 #3C6F19 #19676F
split-complementary
#4C196F #676F19 #196F21
monochromatic
#110619 #2A0E3D #4C196F #6E24A1 #9032D1

Accessibility & contrast

On white

12.53
#4C196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C196F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C196F#FFFFFF#000000##FFFFFF
##4C196F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#462E43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4c196f;
/* rgb */ color: rgb(76, 25, 111);
/* oklch */ color: oklch(34.1% 0.141 307.4);
Tailwind
colors: {
  custom: {
    50: '#825b99',
    500: '#4c196f',
    950: '#000000',
  },
}
SCSS
$custom: #4c196f;
$custom-light: #825b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4c196f",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 275.581,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.1411,
    "h": 307.4
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#4C196F
secondary
#69A43F
accent
#E64285
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C196F

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

Preview Lab → · Contrast checker → · Palette generator →

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