#4A1058#4A1058

#4A1058 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.128 H 318.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4A1058
RGBrgb(74, 16, 88)
HSLhsl(288, 69%, 20%)
HSVhsv(288, 82%, 35%)
CMYKcmyk(15.9%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.06, 37.63, -29.88)
CIE-LCHlch(18.06, 48.05, 321.55°)
OKLaboklab(31.03% 0.0961 -0.0839)
OKLCHoklch(31.03% 0.128 318.9)
XYZxyz(4.7705, 2.5312, 9.4679)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1058 #1E5810
analogous
#261058 #4A1058 #581042
triadic
#4A1058 #584A10 #10584A
tetradic
#4A1058 #582610 #1E5810 #104258
square
#4A1058 #582610 #1E5810 #104258
split-complementary
#4A1058 #425810 #105826
monochromatic
#16051A #1E0724 #4A1058 #76198C #A123C0

Accessibility & contrast

On white

13.94
#4A1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1058
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1058#FFFFFF#000000##FFFFFF
##4A10581.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#152E56
Tritanopia (blue-blind)
#4A1F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1058;
/* rgb */ color: rgb(74, 16, 88);
/* oklch */ color: oklch(31.0% 0.128 318.9);
Tailwind
colors: {
  custom: {
    50: '#7f5688',
    500: '#4a1058',
    950: '#000000',
  },
}
SCSS
$custom: #4a1058;
$custom-light: #7f5688;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1058",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 288.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31031,
    "c": 0.1276,
    "h": 318.9
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#4A1058
secondary
#459132
accent
#EC3C5E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1058

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

Preview Lab → · Contrast checker → · Palette generator →

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