#4B1A71#4B1A71

#4B1A71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.142 H 305.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4B1A71
RGBrgb(75, 26, 113)
HSLhsl(274, 63%, 27%)
HSVhsv(274, 77%, 44%)
CMYKcmyk(33.6%, 77%, 0%, 55.7%)
CIE-LABlab(21.68, 39.42, -40.47)
CIE-LCHlch(21.68, 56.49, 314.24°)
OKLaboklab(34.25% 0.0828 -0.1151)
OKLCHoklch(34.25% 0.142 305.7)
XYZxyz(6.2510, 3.4269, 15.9517)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A71 #40711A
analogous
#1F1A71 #4B1A71 #711A6C
triadic
#4B1A71 #714B1A #1A714B
tetradic
#4B1A71 #711F1A #40711A #1A6C71
square
#4B1A71 #711F1A #40711A #1A6C71
split-complementary
#4B1A71 #6C711A #1A711F
monochromatic
#110619 #2A0F3F #4B1A71 #6C25A3 #8D35D0

Accessibility & contrast

On white

12.46
#4B1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A71
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A71#FFFFFF#000000##FFFFFF
##4B1A711.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#442F44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1a71;
/* rgb */ color: rgb(75, 26, 113);
/* oklch */ color: oklch(34.2% 0.142 305.7);
Tailwind
colors: {
  custom: {
    50: '#815c9a',
    500: '#4b1a71',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a71;
$custom-light: #815c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a71",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 273.793,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34246,
    "c": 0.14178,
    "h": 305.7
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#4B1A71
secondary
#6DA641
accent
#E6428A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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