#4A1E84#4A1E84

#4A1E84 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.158 H 297.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4A1E84
RGBrgb(74, 30, 132)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 77%, 52%)
CMYKcmyk(43.9%, 77.3%, 0%, 48.2%)
CIE-LABlab(23.84, 42.29, -49.06)
CIE-LCHlch(23.84, 64.77, 310.77°)
OKLaboklab(36.25% 0.0728 -0.1404)
OKLCHoklch(36.25% 0.158 297.4)
XYZxyz(7.4521, 4.0502, 22.2145)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E84 #58841E
analogous
#1E2584 #4A1E84 #7D1E84
triadic
#4A1E84 #844A1E #1E844A
tetradic
#4A1E84 #841E25 #58841E #1E847D
square
#4A1E84 #841E25 #58841E #1E847D
split-complementary
#4A1E84 #847D1E #25841E
monochromatic
#120720 #2E1352 #4A1E84 #6629B6 #8447D5

Accessibility & contrast

On white

11.60
#4A1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4A1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E84
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E84#FFFFFF#000000##FFFFFF
##4A1E841.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#3B3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1e84;
/* rgb */ color: rgb(74, 30, 132);
/* oklch */ color: oklch(36.2% 0.158 297.4);
Tailwind
colors: {
  custom: {
    50: '#835fa9',
    500: '#4a1e84',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e84;
$custom-light: #835fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e84",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 265.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.15813,
    "h": 297.4
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#4A1E84
secondary
#87B747
accent
#E6429F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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