#4B1B86#4B1B86

#4B1B86 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.164 H 297.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4B1B86
RGBrgb(75, 27, 134)
HSLhsl(267, 66%, 32%)
HSVhsv(267, 80%, 53%)
CMYKcmyk(44%, 79.9%, 0%, 47.5%)
CIE-LABlab(23.67, 44.36, -50.57)
CIE-LCHlch(23.67, 67.27, 311.25°)
OKLaboklab(36.22% 0.0765 -0.1448)
OKLCHoklch(36.22% 0.164 297.8)
XYZxyz(7.5955, 4.0008, 22.9217)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B86 #56861B
analogous
#1B2086 #4B1B86 #811B86
triadic
#4B1B86 #864B1B #1B864B
tetradic
#4B1B86 #861B20 #56861B #1B8681
square
#4B1B86 #861B20 #56861B #1B8681
split-complementary
#4B1B86 #86811B #20861B
monochromatic
#120620 #2E1153 #4B1B86 #6825B9 #8642D9

Accessibility & contrast

On white

11.67
#4B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4B1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B86
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B86#FFFFFF#000000##FFFFFF
##4B1B861.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#3C3850
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1b86;
/* rgb */ color: rgb(75, 27, 134);
/* oklch */ color: oklch(36.2% 0.164 297.8);
Tailwind
colors: {
  custom: {
    50: '#845daa',
    500: '#4b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b86;
$custom-light: #845daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b86",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 266.916,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.16372,
    "h": 297.8
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#4B1B86
secondary
#84B944
accent
#E93E9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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