#4B1B8D#4B1B8D

#4B1B8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.171 H 295.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4B1B8D
RGBrgb(75, 27, 141)
HSLhsl(265, 68%, 33%)
HSVhsv(265, 81%, 55%)
CMYKcmyk(46.8%, 80.9%, 0%, 44.7%)
CIE-LABlab(24.33, 46.19, -53.87)
CIE-LCHlch(24.33, 70.97, 310.61°)
OKLaboklab(36.88% 0.0743 -0.1544)
OKLCHoklch(36.88% 0.171 295.7)
XYZxyz(8.1000, 4.2026, 25.5786)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B8D #5D8D1B
analogous
#1B248D #4B1B8D #841B8D
triadic
#4B1B8D #8D4B1B #1B8D4B
tetradic
#4B1B8D #8D1B24 #5D8D1B #1B8D84
square
#4B1B8D #8D1B24 #5D8D1B #1B8D84
split-complementary
#4B1B8D #8D841B #248D1B
monochromatic
#140726 #30115A #4B1B8D #6625C0 #8547DC

Accessibility & contrast

On white

11.41
#4B1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B8D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B8D#FFFFFF#000000##FFFFFF
##4B1B8D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#383B54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1b8d;
/* rgb */ color: rgb(75, 27, 141);
/* oklch */ color: oklch(36.9% 0.171 295.7);
Tailwind
colors: {
  custom: {
    50: '#855eaf',
    500: '#4b1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b8d;
$custom-light: #855eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b8d",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 265.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.17139,
    "h": 295.7
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#4B1B8D
secondary
#8BBD46
accent
#EB3DA2
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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