#4B1B59#4B1B59

#4B1B59 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.114 H 317.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4B1B59
RGBrgb(75, 27, 89)
HSLhsl(286, 53%, 23%)
HSVhsv(286, 70%, 35%)
CMYKcmyk(15.7%, 69.7%, 0%, 65.1%)
CIE-LABlab(20.05, 33.16, -27.36)
CIE-LCHlch(20.05, 42.99, 320.48°)
OKLaboklab(32.51% 0.0845 -0.0766)
OKLCHoklch(32.51% 0.114 317.8)
XYZxyz(5.0965, 3.0012, 9.7601)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B59 #29591B
analogous
#2C1B59 #4B1B59 #591B48
triadic
#4B1B59 #594B1B #1B594B
tetradic
#4B1B59 #592C1B #29591B #1B4859
square
#4B1B59 #592C1B #29591B #1B4859
split-complementary
#4B1B59 #48591B #1B592C
monochromatic
#140717 #230D2A #4B1B59 #732988 #9A37B7

Accessibility & contrast

On white

13.12
#4B1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B59
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B59#FFFFFF#000000##FFFFFF
##4B1B591.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#4B2637
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1b59;
/* rgb */ color: rgb(75, 27, 89);
/* oklch */ color: oklch(32.5% 0.114 317.8);
Tailwind
colors: {
  custom: {
    50: '#805b88',
    500: '#4b1b59',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b59;
$custom-light: #805b88;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b59",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 286.452,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.11404,
    "h": 317.8
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#4B1B59
secondary
#538F41
accent
#DD4B6C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4B1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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