#4C196E#4C196E

#4C196E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.140 H 307.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4C196E
RGBrgb(76, 25, 110)
HSLhsl(276, 63%, 26%)
HSVhsv(276, 77%, 43%)
CMYKcmyk(30.9%, 77.3%, 0%, 56.9%)
CIE-LABlab(21.42, 39.34, -38.94)
CIE-LCHlch(21.42, 55.35, 315.29°)
OKLaboklab(34.02% 0.086 -0.1105)
OKLCHoklch(34.02% 0.14 307.9)
XYZxyz(6.1420, 3.3576, 15.0734)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C196E #3B6E19
analogous
#22196E #4C196E #6E1966
triadic
#4C196E #6E4C19 #196E4C
tetradic
#4C196E #6E2219 #3B6E19 #19666E
square
#4C196E #6E2219 #3B6E19 #19666E
split-complementary
#4C196E #666E19 #196E22
monochromatic
#110619 #2A0E3C #4C196E #6E24A0 #9131D0

Accessibility & contrast

On white

12.56
#4C196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C196E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C196E#FFFFFF#000000##FFFFFF
##4C196E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#462D42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c196e;
/* rgb */ color: rgb(76, 25, 110);
/* oklch */ color: oklch(34.0% 0.140 307.9);
Tailwind
colors: {
  custom: {
    50: '#825b98',
    500: '#4c196e',
    950: '#000000',
  },
}
SCSS
$custom: #4c196e;
$custom-light: #825b98;
$custom-dark: #000000;
JSON
{
  "hex": "#4c196e",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 276,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.14003,
    "h": 307.9
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#4C196E
secondary
#67A33F
accent
#E64283
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C196E

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

Preview Lab → · Contrast checker → · Palette generator →

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