#4B1A4E#4B1A4E

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

Color values

HEX#4B1A4E
RGBrgb(75, 26, 78)
HSLhsl(297, 50%, 20%)
HSVhsv(297, 67%, 31%)
CMYKcmyk(3.8%, 66.7%, 0%, 69.4%)
CIE-LABlab(19.16, 31.26, -21.36)
CIE-LCHlch(19.16, 37.86, 325.66°)
OKLaboklab(31.64% 0.0856 -0.0591)
OKLCHoklch(31.64% 0.104 325.4)
XYZxyz(4.6461, 2.7850, 7.4991)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A4E #1D4E1A
analogous
#311A4E #4B1A4E #4E1A37
triadic
#4B1A4E #4E4B1A #1A4E4B
tetradic
#4B1A4E #4E311A #1D4E1A #1A374E
square
#4B1A4E #4E311A #1D4E1A #1A374E
split-complementary
#4B1A4E #374E1A #1A4E31
monochromatic
#160817 #1F0B20 #4B1A4E #77297C #A339AA

Accessibility & contrast

On white

13.49
#4B1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1A4E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A4E#FFFFFF#000000##FFFFFF
##4B1A4E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B50
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#4D2131
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1a4e;
/* rgb */ color: rgb(75, 26, 78);
/* oklch */ color: oklch(31.6% 0.104 325.4);
Tailwind
colors: {
  custom: {
    50: '#7f5a80',
    500: '#4b1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a4e;
$custom-light: #7f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a4e",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 296.538,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3164,
    "c": 0.10401,
    "h": 325.4
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#4B1A4E
secondary
#448440
accent
#DA4E56
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4B1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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