#4A134D#4A134D

#4A134D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.113 H 325.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4A134D
RGBrgb(74, 19, 77)
HSLhsl(297, 60%, 19%)
HSVhsv(297, 75%, 30%)
CMYKcmyk(3.9%, 75.3%, 0%, 69.8%)
CIE-LABlab(17.73, 34.11, -22.96)
CIE-LCHlch(17.73, 41.12, 326.05°)
OKLaboklab(30.55% 0.0935 -0.0637)
OKLCHoklch(30.55% 0.113 325.7)
XYZxyz(4.3964, 2.4577, 7.2626)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A134D #164D13
analogous
#2D134D #4A134D #4D1333
triadic
#4A134D #4D4A13 #134D4A
tetradic
#4A134D #4D2D13 #164D13 #13334D
square
#4A134D #4D2D13 #164D13 #13334D
split-complementary
#4A134D #334D13 #134D2D
monochromatic
#180619 #1B071C #4A134D #791F7E #A82BAF

Accessibility & contrast

On white

14.08
#4A134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A134D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A134D#FFFFFF#000000##FFFFFF
##4A134D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274F
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#4C1C2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a134d;
/* rgb */ color: rgb(74, 19, 77);
/* oklch */ color: oklch(30.5% 0.113 325.7);
Tailwind
colors: {
  custom: {
    50: '#7f567f',
    500: '#4a134d',
    950: '#000000',
  },
}
SCSS
$custom: #4a134d;
$custom-light: #7f567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a134d",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 296.897,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.11316,
    "h": 325.7
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#4A134D
secondary
#3A8636
accent
#E4444C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A134D

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

Preview Lab → · Contrast checker → · Palette generator →

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