#4A1E8A#4A1E8A

#4A1E8A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.165 H 295.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4A1E8A
RGBrgb(74, 30, 138)
HSLhsl(264, 64%, 33%)
HSVhsv(264, 78%, 54%)
CMYKcmyk(46.4%, 78.3%, 0%, 45.9%)
CIE-LABlab(24.38, 43.91, -51.92)
CIE-LCHlch(24.38, 67.99, 310.22°)
OKLaboklab(36.8% 0.0712 -0.1488)
OKLCHoklch(36.8% 0.165 295.6)
XYZxyz(7.8745, 4.2192, 24.4393)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E8A #5E8A1E
analogous
#1E288A #4A1E8A #801E8A
triadic
#4A1E8A #8A4A1E #1E8A4A
tetradic
#4A1E8A #8A1E28 #5E8A1E #1E8A80
square
#4A1E8A #8A1E28 #5E8A1E #1E8A80
split-complementary
#4A1E8A #8A801E #288A1E
monochromatic
#140825 #2F1358 #4A1E8A #6529BC #844BD8

Accessibility & contrast

On white

11.39
#4A1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E8A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E8A#FFFFFF#000000##FFFFFF
##4A1E8A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#383B53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a1e8a;
/* rgb */ color: rgb(74, 30, 138);
/* oklch */ color: oklch(36.8% 0.165 295.6);
Tailwind
colors: {
  custom: {
    50: '#835fad',
    500: '#4a1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e8a;
$custom-light: #835fad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e8a",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 264.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.16493,
    "h": 295.6
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#4A1E8A
secondary
#8CBA4A
accent
#E741A3
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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