#4C1059#4C1059

#4C1059 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.129 H 319.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4C1059
RGBrgb(76, 16, 89)
HSLhsl(289, 70%, 21%)
HSVhsv(289, 82%, 35%)
CMYKcmyk(14.6%, 82%, 0%, 65.1%)
CIE-LABlab(18.49, 38.29, -29.84)
CIE-LCHlch(18.49, 48.55, 322.07°)
OKLaboklab(31.43% 0.0987 -0.0838)
OKLCHoklch(31.43% 0.129 319.7)
XYZxyz(4.9687, 2.6286, 9.6949)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1059 #1D5910
analogous
#271059 #4C1059 #591041
triadic
#4C1059 #594C10 #10594C
tetradic
#4C1059 #592710 #1D5910 #104159
square
#4C1059 #592710 #1D5910 #104159
split-complementary
#4C1059 #415910 #105927
monochromatic
#16051A #200725 #4C1059 #78198D #A523C1

Accessibility & contrast

On white

13.77
#4C1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1059
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1059#FFFFFF#000000##FFFFFF
##4C10591.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#162F57
Tritanopia (blue-blind)
#4C1F34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1059;
/* rgb */ color: rgb(76, 16, 89);
/* oklch */ color: oklch(31.4% 0.129 319.7);
Tailwind
colors: {
  custom: {
    50: '#815688',
    500: '#4c1059',
    950: '#000000',
  },
}
SCSS
$custom: #4c1059;
$custom-light: #815688;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1059",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 289.315,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3143,
    "c": 0.12944,
    "h": 319.7
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4C1059
secondary
#449233
accent
#EC3B5B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1059

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

Preview Lab → · Contrast checker → · Palette generator →

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