#4A184B#4A184B

#4A184B is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.104 H 326.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4A184B
RGBrgb(74, 24, 75)
HSLhsl(299, 52%, 19%)
HSVhsv(299, 68%, 29%)
CMYKcmyk(1.3%, 68%, 0%, 70.6%)
CIE-LABlab(18.44, 31.36, -20.46)
CIE-LCHlch(18.44, 37.44, 326.87°)
OKLaboklab(31.02% 0.0869 -0.0565)
OKLCHoklch(31.02% 0.104 326.9)
XYZxyz(4.4206, 2.6174, 6.9276)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A184B #194B18
analogous
#31184B #4A184B #4B1833
triadic
#4A184B #4B4A18 #184B4A
tetradic
#4A184B #4B3118 #194B18 #18334B
square
#4A184B #4B3118 #194B18 #18334B
split-complementary
#4A184B #334B18 #184B31
monochromatic
#170717 #1C091D #4A184B #782779 #A536A8

Accessibility & contrast

On white

13.78
#4A184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4A184B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A184B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A184B#FFFFFF#000000##FFFFFF
##4A184B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#232F4A
Tritanopia (blue-blind)
#4C1F2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a184b;
/* rgb */ color: rgb(74, 24, 75);
/* oklch */ color: oklch(31.0% 0.104 326.9);
Tailwind
colors: {
  custom: {
    50: '#7e597d',
    500: '#4a184b',
    950: '#000000',
  },
}
SCSS
$custom: #4a184b;
$custom-light: #7e597d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a184b",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 298.824,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.10364,
    "h": 326.9
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#4A184B
secondary
#3E823D
accent
#DB4D50
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4A184B

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

Preview Lab → · Contrast checker → · Palette generator →

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