#4A184F#4A184F

#4A184F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 324.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4A184F
RGBrgb(74, 24, 79)
HSLhsl(295, 53%, 20%)
HSVhsv(295, 70%, 31%)
CMYKcmyk(6.3%, 69.6%, 0%, 69%)
CIE-LABlab(18.69, 32.19, -22.80)
CIE-LCHlch(18.69, 39.45, 324.69°)
OKLaboklab(31.28% 0.0871 -0.0633)
OKLCHoklch(31.28% 0.108 324)
XYZxyz(4.5618, 2.6739, 7.6714)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A184F #1D4F18
analogous
#2E184F #4A184F #4F1839
triadic
#4A184F #4F4A18 #184F4A
tetradic
#4A184F #4F2E18 #1D4F18 #18394F
square
#4A184F #4F2E18 #1D4F18 #18394F
split-complementary
#4A184F #394F18 #184F2E
monochromatic
#160717 #1E0A20 #4A184F #76267E #A235AD

Accessibility & contrast

On white

13.68
#4A184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A184F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A184F#FFFFFF#000000##FFFFFF
##4A184F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#4B2031
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a184f;
/* rgb */ color: rgb(74, 24, 79);
/* oklch */ color: oklch(31.3% 0.108 324.0);
Tailwind
colors: {
  custom: {
    50: '#7f5980',
    500: '#4a184f',
    950: '#000000',
  },
}
SCSS
$custom: #4a184f;
$custom-light: #7f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#4a184f",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 294.545,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31282,
    "c": 0.10767,
    "h": 324
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#4A184F
secondary
#44863D
accent
#DD4B58
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A184F

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

Preview Lab → · Contrast checker → · Palette generator →

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