#4A1D84#4A1D84

#4A1D84 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.159 H 297.6°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4A1D84
RGBrgb(74, 29, 132)
HSLhsl(266, 64%, 32%)
HSVhsv(266, 78%, 52%)
CMYKcmyk(43.9%, 78%, 0%, 48.2%)
CIE-LABlab(23.67, 42.76, -49.32)
CIE-LCHlch(23.67, 65.28, 310.92°)
OKLaboklab(36.13% 0.0737 -0.1411)
OKLCHoklch(36.13% 0.159 297.6)
XYZxyz(7.4272, 4.0004, 22.2062)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D84 #57841D
analogous
#1D2384 #4A1D84 #7E1D84
triadic
#4A1D84 #844A1D #1D844A
tetradic
#4A1D84 #841D23 #57841D #1D847E
square
#4A1D84 #841D23 #57841D #1D847E
split-complementary
#4A1D84 #847E1D #23841D
monochromatic
#120720 #2E1252 #4A1D84 #6628B6 #8545D6

Accessibility & contrast

On white

11.67
#4A1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D84
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D84#FFFFFF#000000##FFFFFF
##4A1D841.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1d84;
/* rgb */ color: rgb(74, 29, 132);
/* oklch */ color: oklch(36.1% 0.159 297.6);
Tailwind
colors: {
  custom: {
    50: '#835ea9',
    500: '#4a1d84',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d84;
$custom-light: #835ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d84",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 266.214,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36132,
    "c": 0.15925,
    "h": 297.6
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#4A1D84
secondary
#86B746
accent
#E7419E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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