#4A1459#4A1459

#4A1459 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.124 H 317.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4A1459
RGBrgb(74, 20, 89)
HSLhsl(287, 63%, 21%)
HSVhsv(287, 78%, 35%)
CMYKcmyk(16.9%, 77.5%, 0%, 65.1%)
CIE-LABlab(18.70, 36.22, -29.52)
CIE-LCHlch(18.70, 46.72, 320.82°)
OKLaboklab(31.51% 0.0917 -0.0829)
OKLCHoklch(31.51% 0.124 317.9)
XYZxyz(4.8771, 2.6776, 9.7092)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1459 #235914
analogous
#281459 #4A1459 #591446
triadic
#4A1459 #594A14 #14594A
tetradic
#4A1459 #592814 #235914 #144659
square
#4A1459 #592814 #235914 #144659
split-complementary
#4A1459 #465914 #145928
monochromatic
#150619 #200927 #4A1459 #741F8B #9D2ABD

Accessibility & contrast

On white

13.68
#4A1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1459
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1459#FFFFFF#000000##FFFFFF
##4A14591.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#172F57
Tritanopia (blue-blind)
#4A2235
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a1459;
/* rgb */ color: rgb(74, 20, 89);
/* oklch */ color: oklch(31.5% 0.124 317.9);
Tailwind
colors: {
  custom: {
    50: '#7f5888',
    500: '#4a1459',
    950: '#000000',
  },
}
SCSS
$custom: #4a1459;
$custom-light: #7f5888;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1459",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 286.957,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.12365,
    "h": 317.9
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#4A1459
secondary
#4B9138
accent
#E64165
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A1459

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

Preview Lab → · Contrast checker → · Palette generator →

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