#4A134A#4A134A

#4A134A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.110 H 327.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4A134A
RGBrgb(74, 19, 74)
HSLhsl(300, 59%, 18%)
HSVhsv(300, 74%, 29%)
CMYKcmyk(0%, 74.3%, 0%, 71%)
CIE-LABlab(17.54, 33.51, -21.21)
CIE-LCHlch(17.54, 39.66, 327.67°)
OKLaboklab(30.35% 0.0934 -0.0587)
OKLCHoklch(30.35% 0.11 327.9)
XYZxyz(4.2929, 2.4163, 6.7175)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A134A #134A13
analogous
#2E134A #4A134A #4A132E
triadic
#4A134A #4A4A13 #134A4A
tetradic
#4A134A #4A2E13 #134A13 #132E4A
square
#4A134A #4A2E13 #134A13 #132E4A
split-complementary
#4A134A #2E4A13 #134A2E
monochromatic
#180618 #190619 #4A134A #7B207B #AB2CAB

Accessibility & contrast

On white

14.16
#4A134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A134A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A134A#FFFFFF#000000##FFFFFF
##4A134A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264C
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#4C1B2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a134a;
/* rgb */ color: rgb(74, 19, 74);
/* oklch */ color: oklch(30.3% 0.110 327.9);
Tailwind
colors: {
  custom: {
    50: '#7f567d',
    500: '#4a134a',
    950: '#000000',
  },
}
SCSS
$custom: #4a134a;
$custom-light: #7f567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a134a",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30349,
    "c": 0.11032,
    "h": 327.9
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4A134A
secondary
#368336
accent
#E24545
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A134A

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

Preview Lab → · Contrast checker → · Palette generator →

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