#4A1B4E#4A1B4E

#4A1B4E is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.102 H 324.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4A1B4E
RGBrgb(74, 27, 78)
HSLhsl(295, 49%, 21%)
HSVhsv(295, 65%, 31%)
CMYKcmyk(5.1%, 65.4%, 0%, 69.4%)
CIE-LABlab(19.18, 30.44, -21.34)
CIE-LCHlch(19.18, 37.18, 324.98°)
OKLaboklab(31.62% 0.0828 -0.0591)
OKLCHoklch(31.62% 0.102 324.5)
XYZxyz(4.5910, 2.7900, 7.5030)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1B4E #1F4E1B
analogous
#301B4E #4A1B4E #4E1B38
triadic
#4A1B4E #4E4A1B #1B4E4A
tetradic
#4A1B4E #4E301B #1F4E1B #1B384E
square
#4A1B4E #4E301B #1F4E1B #1B384E
split-complementary
#4A1B4E #384E1B #1B4E30
monochromatic
#160817 #1F0B21 #4A1B4E #752B7B #A03AA9

Accessibility & contrast

On white

13.48
#4A1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1B4E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1B4E#FFFFFF#000000##FFFFFF
##4A1B4E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#4C2231
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1b4e;
/* rgb */ color: rgb(74, 27, 78);
/* oklch */ color: oklch(31.6% 0.102 324.5);
Tailwind
colors: {
  custom: {
    50: '#7e5b80',
    500: '#4a1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #4a1b4e;
$custom-light: #7e5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1b4e",
  "rgb": {
    "r": 74,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 295.294,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31622,
    "c": 0.10172,
    "h": 324.5
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#4A1B4E
secondary
#468441
accent
#D8505A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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