#4A1081#4A1081

#4A1081 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.168 H 300.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4A1081
RGBrgb(74, 16, 129)
HSLhsl(271, 78%, 28%)
HSVhsv(271, 88%, 51%)
CMYKcmyk(42.6%, 87.6%, 0%, 49.4%)
CIE-LABlab(21.62, 47.13, -50.79)
CIE-LCHlch(21.62, 69.29, 312.86°)
OKLaboklab(34.62% 0.0848 -0.1453)
OKLCHoklch(34.62% 0.168 300.3)
XYZxyz(6.9708, 3.4113, 21.0558)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1081 #478110
analogous
#111081 #4A1081 #81107F
triadic
#4A1081 #814A10 #10814A
tetradic
#4A1081 #811110 #478110 #107F81
square
#4A1081 #811110 #478110 #107F81
split-complementary
#4A1081 #7F8110 #108111
monochromatic
#10031B #2B094B #4A1081 #6917B7 #8827E4

Accessibility & contrast

On white

12.48
#4A1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4A1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1081
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1081#FFFFFF#000000##FFFFFF
##4A10811.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#3D324B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1081;
/* rgb */ color: rgb(74, 16, 129);
/* oklch */ color: oklch(34.6% 0.168 300.3);
Tailwind
colors: {
  custom: {
    50: '#8358a7',
    500: '#4a1081',
    950: '#000000',
  },
}
SCSS
$custom: #4a1081;
$custom-light: #8358a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1081",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 270.796,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.16825,
    "h": 300.3
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#4A1081
secondary
#75B736
accent
#F43391
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A1081

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

Preview Lab → · Contrast checker → · Palette generator →

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