#4A134F#4A134F

#4A134F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.115 H 324.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4A134F
RGBrgb(74, 19, 79)
HSLhsl(295, 61%, 19%)
HSVhsv(295, 76%, 31%)
CMYKcmyk(6.3%, 75.9%, 0%, 69%)
CIE-LABlab(17.86, 34.52, -24.12)
CIE-LCHlch(17.86, 42.11, 325.06°)
OKLaboklab(30.68% 0.0935 -0.0671)
OKLCHoklch(30.68% 0.115 324.3)
XYZxyz(4.4681, 2.4864, 7.6402)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A134F #184F13
analogous
#2C134F #4A134F #4F1336
triadic
#4A134F #4F4A13 #134F4A
tetradic
#4A134F #4F2C13 #184F13 #13364F
square
#4A134F #4F2C13 #184F13 #13364F
split-complementary
#4A134F #364F13 #134F2C
monochromatic
#170619 #1C071E #4A134F #781F80 #A62BB2

Accessibility & contrast

On white

14.03
#4A134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A134F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A134F#FFFFFF#000000##FFFFFF
##4A134F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#4C1D2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a134f;
/* rgb */ color: rgb(74, 19, 79);
/* oklch */ color: oklch(30.7% 0.115 324.3);
Tailwind
colors: {
  custom: {
    50: '#7f5780',
    500: '#4a134f',
    950: '#000000',
  },
}
SCSS
$custom: #4a134f;
$custom-light: #7f5780;
$custom-dark: #000000;
JSON
{
  "hex": "#4a134f",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 295,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30684,
    "c": 0.11509,
    "h": 324.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#4A134F
secondary
#3D8836
accent
#E44351
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A134F

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

Preview Lab → · Contrast checker → · Palette generator →

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