#4C1467#4C1467

#4C1467 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.139 H 311.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#4C1467
RGBrgb(76, 20, 103)
HSLhsl(280, 67%, 24%)
HSVhsv(280, 81%, 40%)
CMYKcmyk(26.2%, 80.6%, 0%, 59.6%)
CIE-LABlab(20.11, 39.82, -36.51)
CIE-LCHlch(20.11, 54.03, 317.49°)
OKLaboklab(32.92% 0.0924 -0.1034)
OKLCHoklch(32.92% 0.139 311.8)
XYZxyz(5.6784, 3.0162, 13.1124)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1467 #2F6714
analogous
#231467 #4C1467 #671459
triadic
#4C1467 #674C14 #14674C
tetradic
#4C1467 #672314 #2F6714 #145967
square
#4C1467 #672314 #2F6714 #145967
split-complementary
#4C1467 #596714 #146723
monochromatic
#13051A #260A34 #4C1467 #721E9A #9828CD

Accessibility & contrast

On white

13.10
#4C1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1467
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1467#FFFFFF#000000##FFFFFF
##4C14671.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#053265
Tritanopia (blue-blind)
#49283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1467;
/* rgb */ color: rgb(76, 20, 103);
/* oklch */ color: oklch(32.9% 0.139 311.8);
Tailwind
colors: {
  custom: {
    50: '#825993',
    500: '#4c1467',
    950: '#000000',
  },
}
SCSS
$custom: #4c1467;
$custom-light: #825993;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1467",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 280.482,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32915,
    "c": 0.13866,
    "h": 311.8
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#4C1467
secondary
#5A9E39
accent
#EA3D76
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1467

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

Preview Lab → · Contrast checker → · Palette generator →

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