#4A1C4E#4A1C4E

#4A1C4E is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.100 H 324.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1C4E
RGBrgb(74, 28, 78)
HSLhsl(295, 47%, 21%)
HSVhsv(295, 64%, 31%)
CMYKcmyk(5.1%, 64.1%, 0%, 69.4%)
CIE-LABlab(19.38, 29.91, -21.03)
CIE-LCHlch(19.38, 36.56, 324.89°)
OKLaboklab(31.76% 0.0813 -0.0582)
OKLCHoklch(31.76% 0.1 324.4)
XYZxyz(4.6143, 2.8367, 7.5107)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C4E #204E1C
analogous
#311C4E #4A1C4E #4E1C39
triadic
#4A1C4E #4E4A1C #1C4E4A
tetradic
#4A1C4E #4E311C #204E1C #1C394E
square
#4A1C4E #4E311C #204E1C #1C394E
split-complementary
#4A1C4E #394E1C #1C4E31
monochromatic
#150817 #1F0C21 #4A1C4E #752C7B #9F3CA8

Accessibility & contrast

On white

13.40
#4A1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C4E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C4E#FFFFFF#000000##FFFFFF
##4A1C4E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#4C2332
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1c4e;
/* rgb */ color: rgb(74, 28, 78);
/* oklch */ color: oklch(31.8% 0.100 324.4);
Tailwind
colors: {
  custom: {
    50: '#7e5b80',
    500: '#4a1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c4e;
$custom-light: #7e5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c4e",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 295.2,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31764,
    "c": 0.10001,
    "h": 324.4
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#4A1C4E
secondary
#478442
accent
#D7515C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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