#4A1AA0#4A1AA0

#4A1AA0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.193 H 290.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4A1AA0
RGBrgb(74, 26, 160)
HSLhsl(261, 72%, 36%)
HSVhsv(261, 84%, 63%)
CMYKcmyk(53.7%, 83.8%, 0%, 37.3%)
CIE-LABlab(25.96, 51.49, -62.89)
CIE-LCHlch(25.96, 81.28, 309.30°)
OKLaboklab(38.55% 0.0668 -0.1809)
OKLCHoklch(38.55% 0.193 290.3)
XYZxyz(9.5368, 4.7323, 33.6618)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1AA0 #70A01A
analogous
#1A2DA0 #4A1AA0 #8D1AA0
triadic
#4A1AA0 #A04A1A #1AA04A
tetradic
#4A1AA0 #A01A2D #70A01A #1AA08D
square
#4A1AA0 #A01A2D #70A01A #1AA08D
split-complementary
#4A1AA0 #A08D1A #2DA01A
monochromatic
#190937 #32116B #4A1AA0 #6223D5 #8652E3

Accessibility & contrast

On white

10.79
#4A1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1AA0
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1AA0#FFFFFF#000000##FFFFFF
##4A1AA01.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a1aa0;
/* rgb */ color: rgb(74, 26, 160);
/* oklch */ color: oklch(38.5% 0.193 290.3);
Tailwind
colors: {
  custom: {
    50: '#875fbd',
    500: '#4a1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4a1aa0;
$custom-light: #875fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1aa0",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 261.493,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.19281,
    "h": 290.3
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#4A1AA0
secondary
#9CC550
accent
#EF39AE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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