#4A134B#4A134B

#4A134B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.111 H 327.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4A134B
RGBrgb(74, 19, 75)
HSLhsl(299, 60%, 18%)
HSVhsv(299, 75%, 29%)
CMYKcmyk(1.3%, 74.7%, 0%, 70.6%)
CIE-LABlab(17.60, 33.71, -21.79)
CIE-LCHlch(17.60, 40.14, 327.12°)
OKLaboklab(30.42% 0.0935 -0.0604)
OKLCHoklch(30.42% 0.111 327.1)
XYZxyz(4.3268, 2.4299, 6.8964)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A134B #144B13
analogous
#2E134B #4A134B #4B1330
triadic
#4A134B #4B4A13 #134B4A
tetradic
#4A134B #4B2E13 #144B13 #13304B
square
#4A134B #4B2E13 #144B13 #13304B
split-complementary
#4A134B #304B13 #134B2E
monochromatic
#180618 #1A071A #4A134B #7A1F7C #AA2CAD

Accessibility & contrast

On white

14.13
#4A134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A134B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A134B#FFFFFF#000000##FFFFFF
##4A134B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09274D
Deuteranopia (green-blind)
#202E4A
Tritanopia (blue-blind)
#4C1B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a134b;
/* rgb */ color: rgb(74, 19, 75);
/* oklch */ color: oklch(30.4% 0.111 327.1);
Tailwind
colors: {
  custom: {
    50: '#7f567d',
    500: '#4a134b',
    950: '#000000',
  },
}
SCSS
$custom: #4a134b;
$custom-light: #7f567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a134b",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 298.929,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.11126,
    "h": 327.1
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#4A134B
secondary
#388436
accent
#E34548
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A134B

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

Preview Lab → · Contrast checker → · Palette generator →

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