#4A184C#4A184C

#4A184C is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.105 H 326.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#4A184C
RGBrgb(74, 24, 76)
HSLhsl(298, 52%, 20%)
HSVhsv(298, 68%, 30%)
CMYKcmyk(2.6%, 68.4%, 0%, 70.2%)
CIE-LABlab(18.50, 31.56, -21.05)
CIE-LCHlch(18.50, 37.94, 326.30°)
OKLaboklab(31.09% 0.0869 -0.0582)
OKLCHoklch(31.09% 0.105 326.2)
XYZxyz(4.4551, 2.6312, 7.1093)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A184C #1A4C18
analogous
#30184C #4A184C #4C1834
triadic
#4A184C #4C4A18 #184C4A
tetradic
#4A184C #4C3018 #1A4C18 #18344C
square
#4A184C #4C3018 #1A4C18 #18344C
split-complementary
#4A184C #344C18 #184C30
monochromatic
#170717 #1D091D #4A184C #77277B #A535A9

Accessibility & contrast

On white

13.76
#4A184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A184C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A184C#FFFFFF#000000##FFFFFF
##4A184C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#232F4B
Tritanopia (blue-blind)
#4C1F2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a184c;
/* rgb */ color: rgb(74, 24, 76);
/* oklch */ color: oklch(31.1% 0.105 326.2);
Tailwind
colors: {
  custom: {
    50: '#7f597e',
    500: '#4a184c',
    950: '#000000',
  },
}
SCSS
$custom: #4a184c;
$custom-light: #7f597e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a184c",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 297.692,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31088,
    "c": 0.10463,
    "h": 326.2
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#4A184C
secondary
#40833D
accent
#DB4C52
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A184C

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

Preview Lab → · Contrast checker → · Palette generator →

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