#4A1056#4A1056

#4A1056 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.126 H 320.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4A1056
RGBrgb(74, 16, 86)
HSLhsl(290, 69%, 20%)
HSVhsv(290, 81%, 34%)
CMYKcmyk(14%, 81.4%, 0%, 66.3%)
CIE-LABlab(17.91, 37.20, -28.77)
CIE-LCHlch(17.91, 47.03, 322.28°)
OKLaboklab(30.88% 0.0964 -0.0807)
OKLCHoklch(30.88% 0.126 320.1)
XYZxyz(4.6888, 2.4986, 9.0376)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1056 #1C5610
analogous
#271056 #4A1056 #56103F
triadic
#4A1056 #564A10 #10564A
tetradic
#4A1056 #562710 #1C5610 #103F56
square
#4A1056 #562710 #1C5610 #103F56
split-complementary
#4A1056 #3F5610 #105627
monochromatic
#16051A #1E0622 #4A1056 #761A8A #A323BD

Accessibility & contrast

On white

14.00
#4A1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1056
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1056#FFFFFF#000000##FFFFFF
##4A10561.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#172E54
Tritanopia (blue-blind)
#4A1E32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1056;
/* rgb */ color: rgb(74, 16, 86);
/* oklch */ color: oklch(30.9% 0.126 320.1);
Tailwind
colors: {
  custom: {
    50: '#7f5686',
    500: '#4a1056',
    950: '#000000',
  },
}
SCSS
$custom: #4a1056;
$custom-light: #7f5686;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1056",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 289.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.12568,
    "h": 320.1
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#4A1056
secondary
#428F32
accent
#EB3C5A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1056

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

Preview Lab → · Contrast checker → · Palette generator →

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