#4C1667#4C1667

#4C1667 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.136 H 311.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4C1667
RGBrgb(76, 22, 103)
HSLhsl(280, 65%, 25%)
HSVhsv(280, 79%, 40%)
CMYKcmyk(26.2%, 78.6%, 0%, 59.6%)
CIE-LABlab(20.40, 38.99, -36.04)
CIE-LCHlch(20.40, 53.09, 317.25°)
OKLaboklab(33.12% 0.0904 -0.102)
OKLCHoklch(33.12% 0.136 311.6)
XYZxyz(5.7151, 3.0897, 13.1247)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1667 #316716
analogous
#241667 #4C1667 #67165A
triadic
#4C1667 #674C16 #16674C
tetradic
#4C1667 #672416 #316716 #165A67
square
#4C1667 #672416 #316716 #165A67
split-complementary
#4C1667 #5A6716 #166724
monochromatic
#130519 #270B35 #4C1667 #712199 #962CCC

Accessibility & contrast

On white

12.98
#4C1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1667
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1667#FFFFFF#000000##FFFFFF
##4C16671.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#083265
Tritanopia (blue-blind)
#49293D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1667;
/* rgb */ color: rgb(76, 22, 103);
/* oklch */ color: oklch(33.1% 0.136 311.6);
Tailwind
colors: {
  custom: {
    50: '#815993',
    500: '#4c1667',
    950: '#000000',
  },
}
SCSS
$custom: #4c1667;
$custom-light: #815993;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1667",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 280,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3312,
    "c": 0.13629,
    "h": 311.6
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#4C1667
secondary
#5C9E3B
accent
#E84078
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1667

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

Preview Lab → · Contrast checker → · Palette generator →

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