#4B1D86#4B1D86

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

Color values

HEX#4B1D86
RGBrgb(75, 29, 134)
HSLhsl(266, 64%, 32%)
HSVhsv(266, 78%, 53%)
CMYKcmyk(44%, 78.4%, 0%, 47.5%)
CIE-LABlab(23.99, 43.46, -50.06)
CIE-LCHlch(23.99, 66.30, 310.96°)
OKLaboklab(36.44% 0.0748 -0.1433)
OKLCHoklch(36.44% 0.162 297.6)
XYZxyz(7.6430, 4.0957, 22.9375)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D86 #58861D
analogous
#1D2386 #4B1D86 #801D86
triadic
#4B1D86 #864B1D #1D864B
tetradic
#4B1D86 #861D23 #58861D #1D8680
square
#4B1D86 #861D23 #58861D #1D8680
split-complementary
#4B1D86 #86801D #23861D
monochromatic
#130721 #2F1254 #4B1D86 #6728B8 #8646D7

Accessibility & contrast

On white

11.54
#4B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1D86
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D86#FFFFFF#000000##FFFFFF
##4B1D861.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1d86;
/* rgb */ color: rgb(75, 29, 134);
/* oklch */ color: oklch(36.4% 0.162 297.6);
Tailwind
colors: {
  custom: {
    50: '#845eaa',
    500: '#4b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d86;
$custom-light: #845eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d86",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 266.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36436,
    "c": 0.16161,
    "h": 297.6
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#4B1D86
secondary
#87B946
accent
#E7409E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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