#4C1058#4C1058

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

Color values

HEX#4C1058
RGBrgb(76, 16, 88)
HSLhsl(290, 69%, 20%)
HSVhsv(290, 82%, 35%)
CMYKcmyk(13.6%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.42, 38.08, -29.29)
CIE-LCHlch(18.42, 48.04, 322.44°)
OKLaboklab(31.36% 0.0988 -0.0821)
OKLCHoklch(31.36% 0.128 320.3)
XYZxyz(4.9270, 2.6119, 9.4753)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1058 #1C5810
analogous
#281058 #4C1058 #581040
triadic
#4C1058 #584C10 #10584C
tetradic
#4C1058 #582810 #1C5810 #104058
square
#4C1058 #582810 #1C5810 #104058
split-complementary
#4C1058 #405810 #105828
monochromatic
#16051A #1F0724 #4C1058 #79198C #A523C0

Accessibility & contrast

On white

13.79
#4C1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1058
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1058#FFFFFF#000000##FFFFFF
##4C10581.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#172F56
Tritanopia (blue-blind)
#4C1F33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1058;
/* rgb */ color: rgb(76, 16, 88);
/* oklch */ color: oklch(31.4% 0.128 320.3);
Tailwind
colors: {
  custom: {
    50: '#815687',
    500: '#4c1058',
    950: '#000000',
  },
}
SCSS
$custom: #4c1058;
$custom-light: #815687;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1058",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 290,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.12849,
    "h": 320.3
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#4C1058
secondary
#429132
accent
#EC3C59
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1058

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

Preview Lab → · Contrast checker → · Palette generator →

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