#4C1699#4C1699

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

Color values

HEX#4C1699
RGBrgb(76, 22, 153)
HSLhsl(265, 75%, 34%)
HSVhsv(265, 86%, 60%)
CMYKcmyk(50.3%, 85.6%, 0%, 40%)
CIE-LABlab(24.98, 51.38, -60.21)
CIE-LCHlch(24.98, 79.15, 310.47°)
OKLaboklab(37.71% 0.0751 -0.1729)
OKLCHoklch(37.71% 0.189 293.5)
XYZxyz(9.0156, 4.4099, 30.5070)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1699 #639916
analogous
#162199 #4C1699 #8E1699
triadic
#4C1699 #994C16 #16994C
tetradic
#4C1699 #991621 #639916 #16998E
square
#4C1699 #991621 #639916 #16998E
split-complementary
#4C1699 #998E16 #219916
monochromatic
#17072E #310E63 #4C1699 #671ECF #8745E4

Accessibility & contrast

On white

11.16
#4C1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1699
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1699#FFFFFF#000000##FFFFFF
##4C16991.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#333E5A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c1699;
/* rgb */ color: rgb(76, 22, 153);
/* oklch */ color: oklch(37.7% 0.189 293.5);
Tailwind
colors: {
  custom: {
    50: '#875db8',
    500: '#4c1699',
    950: '#000000',
  },
}
SCSS
$custom: #4c1699;
$custom-light: #875db8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1699",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 264.733,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.18851,
    "h": 293.5
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#4C1699
secondary
#91C546
accent
#F136A4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4C1699

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

Preview Lab → · Contrast checker → · Palette generator →

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