#4B1E84#4B1E84

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

Color values

HEX#4B1E84
RGBrgb(75, 30, 132)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 77%, 52%)
CMYKcmyk(43.2%, 77.3%, 0%, 48.2%)
CIE-LABlab(23.97, 42.47, -48.84)
CIE-LCHlch(23.97, 64.72, 311.01°)
OKLaboklab(36.37% 0.0744 -0.1397)
OKLCHoklch(36.37% 0.158 298)
XYZxyz(7.5297, 4.0902, 22.2181)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E84 #57841E
analogous
#1E2484 #4B1E84 #7E1E84
triadic
#4B1E84 #844B1E #1E844B
tetradic
#4B1E84 #841E24 #57841E #1E847E
square
#4B1E84 #841E24 #57841E #1E847E
split-complementary
#4B1E84 #847E1E #24841E
monochromatic
#120720 #2F1352 #4B1E84 #6729B6 #8647D5

Accessibility & contrast

On white

11.55
#4B1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1E84
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E84#FFFFFF#000000##FFFFFF
##4B1E841.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#3D3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1e84;
/* rgb */ color: rgb(75, 30, 132);
/* oklch */ color: oklch(36.4% 0.158 298.0);
Tailwind
colors: {
  custom: {
    50: '#835fa9',
    500: '#4b1e84',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e84;
$custom-light: #835fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e84",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 266.471,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36368,
    "c": 0.15825,
    "h": 298
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#4B1E84
secondary
#85B747
accent
#E6429E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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