#4C1065#4C1065

#4C1065 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.4% C 0.141 H 313.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#4C1065
RGBrgb(76, 16, 101)
HSLhsl(282, 73%, 23%)
HSVhsv(282, 84%, 40%)
CMYKcmyk(24.8%, 84.2%, 0%, 60.4%)
CIE-LABlab(19.42, 40.89, -36.31)
CIE-LCHlch(19.42, 54.69, 318.39°)
OKLaboklab(32.38% 0.0966 -0.1027)
OKLCHoklch(32.38% 0.141 313.2)
XYZxyz(5.5143, 2.8468, 12.5684)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1065 #296510
analogous
#211065 #4C1065 #651053
triadic
#4C1065 #654C10 #10654C
tetradic
#4C1065 #652110 #296510 #105365
square
#4C1065 #652110 #296510 #105365
split-complementary
#4C1065 #536510 #106521
monochromatic
#14041A #240830 #4C1065 #74189A #9C21CF

Accessibility & contrast

On white

13.38
#4C1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1065
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1065#FFFFFF#000000##FFFFFF
##4C10651.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#043063
Tritanopia (blue-blind)
#49253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1065;
/* rgb */ color: rgb(76, 16, 101);
/* oklch */ color: oklch(32.4% 0.141 313.2);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4c1065',
    950: '#000000',
  },
}
SCSS
$custom: #4c1065;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1065",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 282.353,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.141,
    "h": 313.2
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#4C1065
secondary
#539D33
accent
#EF386E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C1065

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

Preview Lab → · Contrast checker → · Palette generator →

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