#4A1D86#4A1D86

#4A1D86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.161 H 296.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4A1D86
RGBrgb(74, 29, 134)
HSLhsl(266, 64%, 32%)
HSVhsv(266, 78%, 53%)
CMYKcmyk(44.8%, 78.4%, 0%, 47.5%)
CIE-LABlab(23.85, 43.29, -50.28)
CIE-LCHlch(23.85, 66.35, 310.73°)
OKLaboklab(36.32% 0.0732 -0.144)
OKLCHoklch(36.32% 0.161 296.9)
XYZxyz(7.5653, 4.0557, 22.9339)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D86 #59861D
analogous
#1D2586 #4A1D86 #7F1D86
triadic
#4A1D86 #864A1D #1D864A
tetradic
#4A1D86 #861D25 #59861D #1D867F
square
#4A1D86 #861D25 #59861D #1D867F
split-complementary
#4A1D86 #867F1D #25861D
monochromatic
#120721 #2E1254 #4A1D86 #6628B8 #8446D7

Accessibility & contrast

On white

11.59
#4A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1D86
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D86#FFFFFF#000000##FFFFFF
##4A1D861.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#3A3951
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1d86;
/* rgb */ color: rgb(74, 29, 134);
/* oklch */ color: oklch(36.3% 0.161 296.9);
Tailwind
colors: {
  custom: {
    50: '#835eaa',
    500: '#4a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d86;
$custom-light: #835eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d86",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 265.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36316,
    "c": 0.16149,
    "h": 296.9
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#4A1D86
secondary
#88B946
accent
#E740A0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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