#4B1072#4B1072

#4B1072 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 306.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4B1072
RGBrgb(75, 16, 114)
HSLhsl(276, 75%, 25%)
HSVhsv(276, 86%, 45%)
CMYKcmyk(34.2%, 86%, 0%, 55.3%)
CIE-LABlab(20.37, 43.69, -43.25)
CIE-LCHlch(20.37, 61.48, 315.29°)
OKLaboklab(33.35% 0.0916 -0.1232)
OKLCHoklch(33.35% 0.153 306.6)
XYZxyz(6.1235, 3.0814, 16.1885)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1072 #377210
analogous
#1A1072 #4B1072 #721068
triadic
#4B1072 #724B10 #10724B
tetradic
#4B1072 #721A10 #377210 #106872
square
#4B1072 #721A10 #377210 #106872
split-complementary
#4B1072 #687210 #10721A
monochromatic
#12041B #28083C #4B1072 #6E18A8 #921FDD

Accessibility & contrast

On white

12.99
#4B1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1072
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1072#FFFFFF#000000##FFFFFF
##4B10721.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#442B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1072;
/* rgb */ color: rgb(75, 16, 114);
/* oklch */ color: oklch(33.4% 0.153 306.6);
Tailwind
colors: {
  custom: {
    50: '#82579b',
    500: '#4b1072',
    950: '#000000',
  },
}
SCSS
$custom: #4b1072;
$custom-light: #82579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1072",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 276.122,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33354,
    "c": 0.15348,
    "h": 306.6
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#4B1072
secondary
#63A934
accent
#F23681
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1072

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

Preview Lab → · Contrast checker → · Palette generator →

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