#4B1472#4B1472

#4B1472 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.150 H 306.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4B1472
RGBrgb(75, 20, 114)
HSLhsl(275, 70%, 26%)
HSVhsv(275, 82%, 45%)
CMYKcmyk(34.2%, 82.5%, 0%, 55.3%)
CIE-LABlab(20.87, 42.23, -42.43)
CIE-LCHlch(20.87, 59.86, 314.86°)
OKLaboklab(33.71% 0.0883 -0.1208)
OKLCHoklch(33.71% 0.15 306.2)
XYZxyz(6.1884, 3.2111, 16.2101)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1472 #3B7214
analogous
#1C1472 #4B1472 #72146A
triadic
#4B1472 #724B14 #14724B
tetradic
#4B1472 #721C14 #3B7214 #146A72
square
#4B1472 #721C14 #3B7214 #146A72
split-complementary
#4B1472 #6A7214 #14721C
monochromatic
#11051A #290B3E #4B1472 #6D1DA6 #8F27D9

Accessibility & contrast

On white

12.79
#4B1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1472
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1472#FFFFFF#000000##FFFFFF
##4B14721.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#442D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1472;
/* rgb */ color: rgb(75, 20, 114);
/* oklch */ color: oklch(33.7% 0.150 306.2);
Tailwind
colors: {
  custom: {
    50: '#82599b',
    500: '#4b1472',
    950: '#000000',
  },
}
SCSS
$custom: #4b1472;
$custom-light: #82599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1472",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 275.106,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.14963,
    "h": 306.2
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#4B1472
secondary
#67A839
accent
#ED3B85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1472

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

Preview Lab → · Contrast checker → · Palette generator →

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