#4C1064#4C1064

#4C1064 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.140 H 313.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4C1064
RGBrgb(76, 16, 100)
HSLhsl(283, 72%, 23%)
HSVhsv(283, 84%, 39%)
CMYKcmyk(24%, 84%, 0%, 60.8%)
CIE-LABlab(19.34, 40.67, -35.78)
CIE-LCHlch(19.34, 54.17, 318.66°)
OKLaboklab(32.3% 0.0968 -0.1012)
OKLCHoklch(32.3% 0.14 313.7)
XYZxyz(5.4656, 2.8274, 12.3119)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1064 #286410
analogous
#221064 #4C1064 #641052
triadic
#4C1064 #644C10 #10644C
tetradic
#4C1064 #642210 #286410 #105264
square
#4C1064 #642210 #286410 #105264
split-complementary
#4C1064 #526410 #106422
monochromatic
#14041A #24082F #4C1064 #741899 #9C21CE

Accessibility & contrast

On white

13.42
#4C1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1064
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1064#FFFFFF#000000##FFFFFF
##4C10641.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#063062
Tritanopia (blue-blind)
#4A243A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1064;
/* rgb */ color: rgb(76, 16, 100);
/* oklch */ color: oklch(32.3% 0.140 313.7);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4c1064',
    950: '#000000',
  },
}
SCSS
$custom: #4c1064;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1064",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 282.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32297,
    "c": 0.14003,
    "h": 313.7
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#4C1064
secondary
#519D33
accent
#EF396D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4C1064

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

Preview Lab → · Contrast checker → · Palette generator →

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