#4C1677#4C1677

#4C1677 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.153 H 304.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4C1677
RGBrgb(76, 22, 119)
HSLhsl(273, 69%, 28%)
HSVhsv(273, 82%, 47%)
CMYKcmyk(36.1%, 81.5%, 0%, 53.3%)
CIE-LABlab(21.73, 42.83, -44.23)
CIE-LCHlch(21.73, 61.56, 314.08°)
OKLaboklab(34.48% 0.0867 -0.1261)
OKLCHoklch(34.48% 0.153 304.5)
XYZxyz(6.5964, 3.4423, 17.7661)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1677 #417716
analogous
#1C1677 #4C1677 #771671
triadic
#4C1677 #774C16 #16774C
tetradic
#4C1677 #771C16 #417716 #167177
square
#4C1677 #771C16 #417716 #167177
split-complementary
#4C1677 #717716 #16771C
monochromatic
#10051A #2B0C43 #4C1677 #6D20AB #8D2FD9

Accessibility & contrast

On white

12.44
#4C1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4C1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1677
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1677#FFFFFF#000000##FFFFFF
##4C16771.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#443046
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4c1677;
/* rgb */ color: rgb(76, 22, 119);
/* oklch */ color: oklch(34.5% 0.153 304.5);
Tailwind
colors: {
  custom: {
    50: '#835a9f',
    500: '#4c1677',
    950: '#000000',
  },
}
SCSS
$custom: #4c1677;
$custom-light: #835a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1677",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 273.402,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34477,
    "c": 0.153,
    "h": 304.5
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#4C1677
secondary
#6EAC3C
accent
#EC3C8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4C1677

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

Preview Lab → · Contrast checker → · Palette generator →

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