#4B1473#4B1473

#4B1473 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.151 H 305.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4B1473
RGBrgb(75, 20, 115)
HSLhsl(275, 70%, 26%)
HSVhsv(275, 83%, 45%)
CMYKcmyk(34.8%, 82.6%, 0%, 54.9%)
CIE-LABlab(20.96, 42.47, -42.93)
CIE-LCHlch(20.96, 60.39, 314.69°)
OKLaboklab(33.79% 0.088 -0.1223)
OKLCHoklch(33.79% 0.151 305.7)
XYZxyz(6.2456, 3.2340, 16.5115)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1473 #3C7314
analogous
#1C1473 #4B1473 #73146C
triadic
#4B1473 #734B14 #14734B
tetradic
#4B1473 #731C14 #3C7314 #146C73
square
#4B1473 #731C14 #3C7314 #146C73
split-complementary
#4B1473 #6C7314 #14731C
monochromatic
#11051A #290B3F #4B1473 #6D1DA7 #8F28DA

Accessibility & contrast

On white

12.75
#4B1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4B1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1473
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1473#FFFFFF#000000##FFFFFF
##4B14731.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#442D44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1473;
/* rgb */ color: rgb(75, 20, 115);
/* oklch */ color: oklch(33.8% 0.151 305.7);
Tailwind
colors: {
  custom: {
    50: '#82599c',
    500: '#4b1473',
    950: '#000000',
  },
}
SCSS
$custom: #4b1473;
$custom-light: #82599c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1473",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 274.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33793,
    "c": 0.15066,
    "h": 305.7
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#4B1473
secondary
#69A93A
accent
#ED3B86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1473

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

Preview Lab → · Contrast checker → · Palette generator →

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