#4A1E86#4A1E86

#4A1E86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.160 H 296.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4A1E86
RGBrgb(74, 30, 134)
HSLhsl(265, 63%, 32%)
HSVhsv(265, 78%, 53%)
CMYKcmyk(44.8%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.02, 42.83, -50.02)
CIE-LCHlch(24.02, 65.85, 310.57°)
OKLaboklab(36.43% 0.0723 -0.1432)
OKLCHoklch(36.43% 0.16 296.8)
XYZxyz(7.5903, 4.1055, 22.9422)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E86 #5A861E
analogous
#1E2686 #4A1E86 #7E1E86
triadic
#4A1E86 #864A1E #1E864A
tetradic
#4A1E86 #861E26 #5A861E #1E867E
square
#4A1E86 #861E26 #5A861E #1E867E
split-complementary
#4A1E86 #867E1E #26861E
monochromatic
#130822 #2E1354 #4A1E86 #6629B8 #8448D6

Accessibility & contrast

On white

11.53
#4A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E86
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E86#FFFFFF#000000##FFFFFF
##4A1E861.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#3A3A51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1e86;
/* rgb */ color: rgb(74, 30, 134);
/* oklch */ color: oklch(36.4% 0.160 296.8);
Tailwind
colors: {
  custom: {
    50: '#835faa',
    500: '#4a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e86;
$custom-light: #835faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e86",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 265.385,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3643,
    "c": 0.1604,
    "h": 296.8
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#4A1E86
secondary
#89B847
accent
#E641A1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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