#4C1996#4C1996

#4C1996 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.183 H 294.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#4C1996
RGBrgb(76, 25, 150)
HSLhsl(264, 71%, 34%)
HSVhsv(264, 83%, 59%)
CMYKcmyk(49.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(25.06, 49.50, -58.25)
CIE-LCHlch(25.06, 76.44, 310.36°)
OKLaboklab(37.67% 0.0743 -0.1672)
OKLCHoklch(37.67% 0.183 294)
XYZxyz(8.8316, 4.4335, 29.2387)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1996 #639619
analogous
#192496 #4C1996 #8B1996
triadic
#4C1996 #964C19 #19964C
tetradic
#4C1996 #961924 #639619 #19968B
square
#4C1996 #961924 #639619 #19968B
split-complementary
#4C1996 #968B19 #249619
monochromatic
#17082D #311062 #4C1996 #6722CA #8749E1

Accessibility & contrast

On white

11.13
#4C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1996
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1996#FFFFFF#000000##FFFFFF
##4C19961.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#353E59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c1996;
/* rgb */ color: rgb(76, 25, 150);
/* oklch */ color: oklch(37.7% 0.183 294.0);
Tailwind
colors: {
  custom: {
    50: '#875eb6',
    500: '#4c1996',
    950: '#000000',
  },
}
SCSS
$custom: #4c1996;
$custom-light: #875eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1996",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 264.48,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.18297,
    "h": 294
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#4C1996
secondary
#91C249
accent
#EE3AA5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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