#4B1156#4B1156

#4B1156 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.125 H 320.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4B1156
RGBrgb(75, 17, 86)
HSLhsl(290, 67%, 20%)
HSVhsv(290, 80%, 34%)
CMYKcmyk(12.8%, 80.2%, 0%, 66.3%)
CIE-LABlab(18.23, 37.05, -28.26)
CIE-LCHlch(18.23, 46.59, 322.67°)
OKLaboklab(31.14% 0.0967 -0.0792)
OKLCHoklch(31.14% 0.125 320.7)
XYZxyz(4.7816, 2.5689, 9.0463)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1156 #1C5611
analogous
#291156 #4B1156 #56113E
triadic
#4B1156 #564B11 #11564B
tetradic
#4B1156 #562911 #1C5611 #113E56
square
#4B1156 #562911 #1C5611 #113E56
split-complementary
#4B1156 #3E5611 #115629
monochromatic
#16051A #1E0723 #4B1156 #781B89 #A425BC

Accessibility & contrast

On white

13.87
#4B1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4B1156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1156
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1156#FFFFFF#000000##FFFFFF
##4B11561.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#4B1F32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1156;
/* rgb */ color: rgb(75, 17, 86);
/* oklch */ color: oklch(31.1% 0.125 320.7);
Tailwind
colors: {
  custom: {
    50: '#805686',
    500: '#4b1156',
    950: '#000000',
  },
}
SCSS
$custom: #4b1156;
$custom-light: #805686;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1156",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 290.435,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31139,
    "c": 0.12494,
    "h": 320.7
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#4B1156
secondary
#428F34
accent
#EA3E59
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1156

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

Preview Lab → · Contrast checker → · Palette generator →

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