#4A1480#4A1480

#4A1480 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.164 H 300.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4A1480
RGBrgb(74, 20, 128)
HSLhsl(270, 73%, 29%)
HSVhsv(270, 84%, 50%)
CMYKcmyk(42.2%, 84.4%, 0%, 49.8%)
CIE-LABlab(22.00, 45.50, -49.54)
CIE-LCHlch(22.00, 67.26, 312.56°)
OKLaboklab(34.85% 0.0824 -0.1417)
OKLCHoklch(34.85% 0.164 300.2)
XYZxyz(6.9695, 3.5146, 20.7291)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1480 #4A8014
analogous
#141480 #4A1480 #801480
triadic
#4A1480 #804A14 #14804A
tetradic
#4A1480 #801414 #4A8014 #148080
square
#4A1480 #801414 #4A8014 #148080
split-complementary
#4A1480 #808014 #148014
monochromatic
#0F041A #2B0C4B #4A1480 #691CB5 #8730DF

Accessibility & contrast

On white

12.33
#4A1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4A1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1480
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1480#FFFFFF#000000##FFFFFF
##4A14801.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#3D334B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a1480;
/* rgb */ color: rgb(74, 20, 128);
/* oklch */ color: oklch(34.8% 0.164 300.2);
Tailwind
colors: {
  custom: {
    50: '#835aa6',
    500: '#4a1480',
    950: '#000000',
  },
}
SCSS
$custom: #4a1480;
$custom-light: #835aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1480",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 270,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.16393,
    "h": 300.2
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#4A1480
secondary
#78B53B
accent
#F03894
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A1480

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

Preview Lab → · Contrast checker → · Palette generator →

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