#4B1159#4B1159

#4B1159 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.128 H 318.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4B1159
RGBrgb(75, 17, 89)
HSLhsl(288, 68%, 21%)
HSVhsv(288, 81%, 35%)
CMYKcmyk(15.7%, 80.9%, 0%, 65.1%)
CIE-LABlab(18.45, 37.68, -29.92)
CIE-LCHlch(18.45, 48.12, 321.55°)
OKLaboklab(31.36% 0.0963 -0.084)
OKLCHoklch(31.36% 0.128 318.9)
XYZxyz(4.9050, 2.6183, 9.6963)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1159 #1F5911
analogous
#271159 #4B1159 #591143
triadic
#4B1159 #594B11 #11594B
tetradic
#4B1159 #592711 #1F5911 #114359
square
#4B1159 #592711 #1F5911 #114359
split-complementary
#4B1159 #435911 #115927
monochromatic
#16051A #200726 #4B1159 #761B8C #A225C0

Accessibility & contrast

On white

13.78
#4B1159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B1159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1159
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1159#FFFFFF#000000##FFFFFF
##4B11591.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#162F57
Tritanopia (blue-blind)
#4B2034
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b1159;
/* rgb */ color: rgb(75, 17, 89);
/* oklch */ color: oklch(31.4% 0.128 318.9);
Tailwind
colors: {
  custom: {
    50: '#805688',
    500: '#4b1159',
    950: '#000000',
  },
}
SCSS
$custom: #4b1159;
$custom-light: #805688;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1159",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 288.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31363,
    "c": 0.12784,
    "h": 318.9
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#4B1159
secondary
#469234
accent
#EB3D5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1159

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

Preview Lab → · Contrast checker → · Palette generator →

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