#4C1665#4C1665

#4C1665 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.134 H 312.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4C1665
RGBrgb(76, 22, 101)
HSLhsl(281, 64%, 24%)
HSVhsv(281, 78%, 40%)
CMYKcmyk(24.8%, 78.2%, 0%, 60.4%)
CIE-LABlab(20.24, 38.52, -34.98)
CIE-LCHlch(20.24, 52.03, 317.76°)
OKLaboklab(32.96% 0.0908 -0.0989)
OKLCHoklch(32.96% 0.134 312.5)
XYZxyz(5.6159, 3.0501, 12.6023)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1665 #2F6516
analogous
#251665 #4C1665 #651657
triadic
#4C1665 #654C16 #16654C
tetradic
#4C1665 #652516 #2F6516 #165765
square
#4C1665 #652516 #2F6516 #165765
split-complementary
#4C1665 #576516 #166525
monochromatic
#130519 #260B33 #4C1665 #722197 #982CCA

Accessibility & contrast

On white

13.04
#4C1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1665
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1665#FFFFFF#000000##FFFFFF
##4C16651.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#0C3263
Tritanopia (blue-blind)
#49283C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1665;
/* rgb */ color: rgb(76, 22, 101);
/* oklch */ color: oklch(33.0% 0.134 312.5);
Tailwind
colors: {
  custom: {
    50: '#815991',
    500: '#4c1665',
    950: '#000000',
  },
}
SCSS
$custom: #4c1665;
$custom-light: #815991;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1665",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 281.013,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.13422,
    "h": 312.5
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#4C1665
secondary
#5A9C3B
accent
#E74175
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1665

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

Preview Lab → · Contrast checker → · Palette generator →

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