#4B1E86#4B1E86

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

Color values

HEX#4B1E86
RGBrgb(75, 30, 134)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 78%, 53%)
CMYKcmyk(44%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.15, 43.00, -49.80)
CIE-LCHlch(24.15, 65.80, 310.81°)
OKLaboklab(36.55% 0.0739 -0.1425)
OKLCHoklch(36.55% 0.161 297.4)
XYZxyz(7.6679, 4.1455, 22.9458)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E86 #59861E
analogous
#1E2586 #4B1E86 #7F1E86
triadic
#4B1E86 #864B1E #1E864B
tetradic
#4B1E86 #861E25 #59861E #1E867F
square
#4B1E86 #861E25 #59861E #1E867F
split-complementary
#4B1E86 #867F1E #25861E
monochromatic
#130822 #2F1354 #4B1E86 #6729B8 #8648D6

Accessibility & contrast

On white

11.48
#4B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E86
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E86#FFFFFF#000000##FFFFFF
##4B1E861.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1e86;
/* rgb */ color: rgb(75, 30, 134);
/* oklch */ color: oklch(36.5% 0.161 297.4);
Tailwind
colors: {
  custom: {
    50: '#835faa',
    500: '#4b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e86;
$custom-light: #835faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e86",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 265.962,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.16052,
    "h": 297.4
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#4B1E86
secondary
#87B847
accent
#E6419F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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