#4B1B8B#4B1B8B

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

Color values

HEX#4B1B8B
RGBrgb(75, 27, 139)
HSLhsl(266, 67%, 33%)
HSVhsv(266, 81%, 55%)
CMYKcmyk(46%, 80.6%, 0%, 45.5%)
CIE-LABlab(24.14, 45.67, -52.94)
CIE-LCHlch(24.14, 69.91, 310.78°)
OKLaboklab(36.69% 0.075 -0.1517)
OKLCHoklch(36.69% 0.169 296.3)
XYZxyz(7.9525, 4.1436, 24.8019)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B8B #5B8B1B
analogous
#1B238B #4B1B8B #831B8B
triadic
#4B1B8B #8B4B1B #1B8B4B
tetradic
#4B1B8B #8B1B23 #5B8B1B #1B8B83
square
#4B1B8B #8B1B23 #5B8B1B #1B8B83
split-complementary
#4B1B8B #8B831B #238B1B
monochromatic
#140725 #2F1158 #4B1B8B #6725BE #8645DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1B8B#FFFFFF#000000##FFFFFF
##4B1B8B1.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)
#003A8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#393A53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1b8b;
/* rgb */ color: rgb(75, 27, 139);
/* oklch */ color: oklch(36.7% 0.169 296.3);
Tailwind
colors: {
  custom: {
    50: '#845eae',
    500: '#4b1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b8b;
$custom-light: #845eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b8b",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 265.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.16921,
    "h": 296.3
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#4B1B8B
secondary
#89BC45
accent
#EA3DA0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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