#4B1176#4B1176

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

Color values

HEX#4B1176
RGBrgb(75, 17, 118)
HSLhsl(274, 75%, 26%)
HSVhsv(274, 86%, 46%)
CMYKcmyk(36.4%, 85.6%, 0%, 53.7%)
CIE-LABlab(20.85, 44.29, -45.04)
CIE-LCHlch(20.85, 63.17, 314.52°)
OKLaboklab(33.8% 0.0895 -0.1284)
OKLCHoklch(33.8% 0.157 304.9)
XYZxyz(6.3714, 3.2048, 17.4190)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1176 #3C7611
analogous
#181176 #4B1176 #76116F
triadic
#4B1176 #764B11 #11764B
tetradic
#4B1176 #761811 #3C7611 #116F76
square
#4B1176 #761811 #3C7611 #116F76
split-complementary
#4B1176 #6F7611 #117618
monochromatic
#11041B #290941 #4B1176 #6D19AB #8F22DF

Accessibility & contrast

On white

12.80
#4B1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1176
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1176#FFFFFF#000000##FFFFFF
##4B11761.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1176;
/* rgb */ color: rgb(75, 17, 118);
/* oklch */ color: oklch(33.8% 0.157 304.9);
Tailwind
colors: {
  custom: {
    50: '#82589e',
    500: '#4b1176',
    950: '#000000',
  },
}
SCSS
$custom: #4b1176;
$custom-light: #82589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1176",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 274.455,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.15657,
    "h": 304.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#4B1176
secondary
#69AD36
accent
#F13686
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1176

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

Preview Lab → · Contrast checker → · Palette generator →

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