#4A134C#4A134C

#4A134C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.112 H 326.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4A134C
RGBrgb(74, 19, 76)
HSLhsl(298, 60%, 19%)
HSVhsv(298, 75%, 30%)
CMYKcmyk(2.6%, 75%, 0%, 70.2%)
CIE-LABlab(17.66, 33.91, -22.38)
CIE-LCHlch(17.66, 40.63, 326.58°)
OKLaboklab(30.48% 0.0935 -0.0621)
OKLCHoklch(30.48% 0.112 326.4)
XYZxyz(4.3613, 2.4437, 7.0780)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A134C #154C13
analogous
#2D134C #4A134C #4C1331
triadic
#4A134C #4C4A13 #134C4A
tetradic
#4A134C #4C2D13 #154C13 #13314C
square
#4A134C #4C2D13 #154C13 #13314C
split-complementary
#4A134C #314C13 #134C2D
monochromatic
#180618 #1A071B #4A134C #7A1F7D #A92BAE

Accessibility & contrast

On white

14.11
#4A134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A134C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A134C#FFFFFF#000000##FFFFFF
##4A134C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274E
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#4C1C2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a134c;
/* rgb */ color: rgb(74, 19, 76);
/* oklch */ color: oklch(30.5% 0.112 326.4);
Tailwind
colors: {
  custom: {
    50: '#7f567e',
    500: '#4a134c',
    950: '#000000',
  },
}
SCSS
$custom: #4a134c;
$custom-light: #7f567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a134c",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 297.895,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30481,
    "c": 0.1122,
    "h": 326.4
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#4A134C
secondary
#398536
accent
#E3454A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A134C

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

Preview Lab → · Contrast checker → · Palette generator →

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