#4B1AB4#4B1AB4

#4B1AB4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.7% C 0.214 H 286.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4B1AB4
RGBrgb(75, 26, 180)
HSLhsl(259, 75%, 40%)
HSVhsv(259, 86%, 71%)
CMYKcmyk(58.3%, 85.6%, 0%, 29.4%)
CIE-LABlab(28.19, 56.86, -71.26)
CIE-LCHlch(28.19, 91.16, 308.59°)
OKLaboklab(40.73% 0.0609 -0.2052)
OKLCHoklch(40.73% 0.214 286.5)
XYZxyz(11.5068, 5.5293, 43.6321)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1AB4 #83B41A
analogous
#1A36B4 #4B1AB4 #981AB4
triadic
#4B1AB4 #B44B1A #1AB44B
tetradic
#4B1AB4 #B41A36 #83B41A #1AB498
square
#4B1AB4 #B41A36 #83B41A #1AB498
split-complementary
#4B1AB4 #B4981A #36B41A
monochromatic
#1E0B49 #35127F #4B1AB4 #652BE0 #8C60E8

Accessibility & contrast

On white

9.97
#4B1AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B1AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1AB4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1AB4#FFFFFF#000000##FFFFFF
##4B1AB41.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#124C6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b1ab4;
/* rgb */ color: rgb(75, 26, 180);
/* oklch */ color: oklch(40.7% 0.214 286.5);
Tailwind
colors: {
  custom: {
    50: '#8b60cc',
    500: '#4b1ab4',
    950: '#000000',
  },
}
SCSS
$custom: #4b1ab4;
$custom-light: #8b60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1ab4",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 259.091,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.21407,
    "h": 286.5
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#4B1AB4
secondary
#A9CC5D
accent
#F136B6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4B1AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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