#4B1076#4B1076

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

Color values

HEX#4B1076
RGBrgb(75, 16, 118)
HSLhsl(275, 76%, 26%)
HSVhsv(275, 86%, 46%)
CMYKcmyk(36.4%, 86.4%, 0%, 53.7%)
CIE-LABlab(20.73, 44.63, -45.23)
CIE-LCHlch(20.73, 63.55, 314.62°)
OKLaboklab(33.72% 0.0903 -0.129)
OKLCHoklch(33.72% 0.157 305)
XYZxyz(6.3562, 3.1745, 17.4139)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1076 #3B7610
analogous
#181076 #4B1076 #76106E
triadic
#4B1076 #764B10 #10764B
tetradic
#4B1076 #761810 #3B7610 #106E76
square
#4B1076 #761810 #3B7610 #106E76
split-complementary
#4B1076 #6E7610 #107618
monochromatic
#11041B #290940 #4B1076 #6D17AC #8F20E1

Accessibility & contrast

On white

12.85
#4B1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1076
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1076#FFFFFF#000000##FFFFFF
##4B10761.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#432D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1076;
/* rgb */ color: rgb(75, 16, 118);
/* oklch */ color: oklch(33.7% 0.157 305.0);
Tailwind
colors: {
  custom: {
    50: '#82589e',
    500: '#4b1076',
    950: '#000000',
  },
}
SCSS
$custom: #4b1076;
$custom-light: #82589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1076",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 274.706,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33717,
    "c": 0.15745,
    "h": 305
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#4B1076
secondary
#67AD35
accent
#F33585
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1076

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

Preview Lab → · Contrast checker → · Palette generator →

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