#4B1166#4B1166

#4B1166 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.141 H 312.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#4B1166
RGBrgb(75, 17, 102)
HSLhsl(281, 71%, 23%)
HSVhsv(281, 83%, 40%)
CMYKcmyk(26.5%, 83.3%, 0%, 60%)
CIE-LABlab(19.46, 40.56, -36.91)
CIE-LCHlch(19.46, 54.84, 317.69°)
OKLaboklab(32.4% 0.094 -0.1046)
OKLCHoklch(32.4% 0.141 312)
XYZxyz(5.4999, 2.8562, 12.8294)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1166 #2C6611
analogous
#201166 #4B1166 #661156
triadic
#4B1166 #664B11 #11664B
tetradic
#4B1166 #662011 #2C6611 #115666
square
#4B1166 #662011 #2C6611 #115666
split-complementary
#4B1166 #566611 #116620
monochromatic
#13041A #240832 #4B1166 #721A9A #9822CF

Accessibility & contrast

On white

13.37
#4B1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4B1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1166
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1166#FFFFFF#000000##FFFFFF
##4B11661.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#013064
Tritanopia (blue-blind)
#48263C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1166;
/* rgb */ color: rgb(75, 17, 102);
/* oklch */ color: oklch(32.4% 0.141 312.0);
Tailwind
colors: {
  custom: {
    50: '#815792',
    500: '#4b1166',
    950: '#000000',
  },
}
SCSS
$custom: #4b1166;
$custom-light: #815792;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1166",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 280.941,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32398,
    "c": 0.1406,
    "h": 312
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#4B1166
secondary
#569E35
accent
#EE3A73
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B1166

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

Preview Lab → · Contrast checker → · Palette generator →

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