#4C1164#4C1164

#4C1164 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.139 H 313.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4C1164
RGBrgb(76, 17, 100)
HSLhsl(283, 71%, 23%)
HSVhsv(283, 83%, 39%)
CMYKcmyk(24%, 83%, 0%, 60.8%)
CIE-LABlab(19.46, 40.30, -35.58)
CIE-LCHlch(19.46, 53.76, 318.56°)
OKLaboklab(32.39% 0.0959 -0.1006)
OKLCHoklch(32.39% 0.139 313.6)
XYZxyz(5.4808, 2.8577, 12.3170)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1164 #296411
analogous
#231164 #4C1164 #641152
triadic
#4C1164 #644C11 #11644C
tetradic
#4C1164 #642311 #296411 #115264
square
#4C1164 #642311 #296411 #115264
split-complementary
#4C1164 #526411 #116423
monochromatic
#14041A #240830 #4C1164 #741A98 #9C23CD

Accessibility & contrast

On white

13.36
#4C1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C1164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1164
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1164#FFFFFF#000000##FFFFFF
##4C11641.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#083062
Tritanopia (blue-blind)
#49253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1164;
/* rgb */ color: rgb(76, 17, 100);
/* oklch */ color: oklch(32.4% 0.139 313.6);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4c1164',
    950: '#000000',
  },
}
SCSS
$custom: #4c1164;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1164",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 282.651,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32386,
    "c": 0.13898,
    "h": 313.6
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#4C1164
secondary
#539C35
accent
#EE3A6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4C1164

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

Preview Lab → · Contrast checker → · Palette generator →

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