#4C1068#4C1068

#4C1068 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.144 H 311.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4C1068
RGBrgb(76, 16, 104)
HSLhsl(281, 73%, 24%)
HSVhsv(281, 85%, 41%)
CMYKcmyk(26.9%, 84.6%, 0%, 59.2%)
CIE-LABlab(19.67, 41.56, -37.88)
CIE-LCHlch(19.67, 56.24, 317.65°)
OKLaboklab(32.63% 0.0959 -0.1074)
OKLCHoklch(32.63% 0.144 311.8)
XYZxyz(5.6640, 2.9067, 13.3567)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1068 #2C6810
analogous
#201068 #4C1068 #681058
triadic
#4C1068 #684C10 #10684C
tetradic
#4C1068 #682010 #2C6810 #105868
square
#4C1068 #682010 #2C6810 #105868
split-complementary
#4C1068 #586810 #106820
monochromatic
#13041B #250833 #4C1068 #73189D #9A20D2

Accessibility & contrast

On white

13.28
#4C1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1068
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1068#FFFFFF#000000##FFFFFF
##4C10681.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#48263D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1068;
/* rgb */ color: rgb(76, 16, 104);
/* oklch */ color: oklch(32.6% 0.144 311.8);
Tailwind
colors: {
  custom: {
    50: '#825794',
    500: '#4c1068',
    950: '#000000',
  },
}
SCSS
$custom: #4c1068;
$custom-light: #825794;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1068",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 280.909,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.14392,
    "h": 311.8
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#4C1068
secondary
#56A034
accent
#F03872
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C1068

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

Preview Lab → · Contrast checker → · Palette generator →

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