#4B1B77#4B1B77

#4B1B77 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.147 H 303.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4B1B77
RGBrgb(75, 27, 119)
HSLhsl(271, 63%, 29%)
HSVhsv(271, 77%, 47%)
CMYKcmyk(37%, 77.3%, 0%, 53.3%)
CIE-LABlab(22.34, 40.47, -43.24)
CIE-LCHlch(22.34, 59.23, 313.11°)
OKLaboklab(34.87% 0.0805 -0.1232)
OKLCHoklch(34.87% 0.147 303.1)
XYZxyz(6.6226, 3.6116, 17.7974)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B77 #47771B
analogous
#1D1B77 #4B1B77 #771B75
triadic
#4B1B77 #774B1B #1B774B
tetradic
#4B1B77 #771D1B #47771B #1B7577
square
#4B1B77 #771D1B #47771B #1B7577
split-complementary
#4B1B77 #75771B #1B771D
monochromatic
#100619 #2C1045 #4B1B77 #6A26A9 #8A3AD2

Accessibility & contrast

On white

12.19
#4B1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4B1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B77
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B77#FFFFFF#000000##FFFFFF
##4B1B771.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#423248
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b1b77;
/* rgb */ color: rgb(75, 27, 119);
/* oklch */ color: oklch(34.9% 0.147 303.1);
Tailwind
colors: {
  custom: {
    50: '#825d9f',
    500: '#4b1b77',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b77;
$custom-light: #825d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b77",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 271.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.14719,
    "h": 303.1
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#4B1B77
secondary
#75AB42
accent
#E64290
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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