#4B1D76#4B1D76

#4B1D76 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.144 H 303.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#4B1D76
RGBrgb(75, 29, 118)
HSLhsl(271, 61%, 29%)
HSVhsv(271, 75%, 46%)
CMYKcmyk(36.4%, 75.4%, 0%, 53.7%)
CIE-LABlab(22.59, 39.27, -42.20)
CIE-LCHlch(22.59, 57.64, 312.94°)
OKLaboklab(35.02% 0.0786 -0.1202)
OKLCHoklch(35.02% 0.144 303.2)
XYZxyz(6.6103, 3.6826, 17.4986)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D76 #48761D
analogous
#1F1D76 #4B1D76 #761D75
triadic
#4B1D76 #764B1D #1D764B
tetradic
#4B1D76 #761F1D #48761D #1D7576
square
#4B1D76 #761F1D #48761D #1D7576
split-complementary
#4B1D76 #75761D #1D761F
monochromatic
#100619 #2C1145 #4B1D76 #6A29A7 #893ED0

Accessibility & contrast

On white

12.09
#4B1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4B1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D76
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D76#FFFFFF#000000##FFFFFF
##4B1D761.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#423347
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4b1d76;
/* rgb */ color: rgb(75, 29, 118);
/* oklch */ color: oklch(35.0% 0.144 303.2);
Tailwind
colors: {
  custom: {
    50: '#825e9e',
    500: '#4b1d76',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d76;
$custom-light: #825e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d76",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 271.011,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35023,
    "c": 0.14362,
    "h": 303.2
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#4B1D76
secondary
#76AA45
accent
#E44491
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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