#4A184D#4A184D

#4A184D is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.106 H 325.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4A184D
RGBrgb(74, 24, 77)
HSLhsl(297, 52%, 20%)
HSVhsv(297, 69%, 30%)
CMYKcmyk(3.9%, 68.8%, 0%, 69.8%)
CIE-LABlab(18.56, 31.77, -21.63)
CIE-LCHlch(18.56, 38.44, 325.75°)
OKLaboklab(31.15% 0.087 -0.0599)
OKLCHoklch(31.15% 0.106 325.4)
XYZxyz(4.4901, 2.6452, 7.2938)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A184D #1B4D18
analogous
#30184D #4A184D #4D1835
triadic
#4A184D #4D4A18 #184D4A
tetradic
#4A184D #4D3018 #1B4D18 #18354D
square
#4A184D #4D3018 #1B4D18 #18354D
split-complementary
#4A184D #354D18 #184D30
monochromatic
#160717 #1D091E #4A184D #77277C #A435AA

Accessibility & contrast

On white

13.73
#4A184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4A184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A184D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A184D#FFFFFF#000000##FFFFFF
##4A184D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294F
Deuteranopia (green-blind)
#222F4C
Tritanopia (blue-blind)
#4C2030
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a184d;
/* rgb */ color: rgb(74, 24, 77);
/* oklch */ color: oklch(31.2% 0.106 325.4);
Tailwind
colors: {
  custom: {
    50: '#7f597f',
    500: '#4a184d',
    950: '#000000',
  },
}
SCSS
$custom: #4a184d;
$custom-light: #7f597f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a184d",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 296.604,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.10564,
    "h": 325.4
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#4A184D
secondary
#41843D
accent
#DC4C54
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A184D

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

Preview Lab → · Contrast checker → · Palette generator →

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