#4A194F#4A194F

#4A194F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.106 H 323.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4A194F
RGBrgb(74, 25, 79)
HSLhsl(294, 52%, 20%)
HSVhsv(294, 68%, 31%)
CMYKcmyk(6.3%, 68.4%, 0%, 69%)
CIE-LABlab(18.87, 31.69, -22.51)
CIE-LCHlch(18.87, 38.87, 324.61°)
OKLaboklab(31.41% 0.0857 -0.0625)
OKLCHoklch(31.41% 0.106 323.9)
XYZxyz(4.5828, 2.7159, 7.6784)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A194F #1E4F19
analogous
#2F194F #4A194F #4F1939
triadic
#4A194F #4F4A19 #194F4A
tetradic
#4A194F #4F2F19 #1E4F19 #19394F
square
#4A194F #4F2F19 #1E4F19 #19394F
split-complementary
#4A194F #394F19 #194F2F
monochromatic
#160717 #1E0A21 #4A194F #76287D #A136AC

Accessibility & contrast

On white

13.61
#4A194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4A194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A194F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A194F#FFFFFF#000000##FFFFFF
##4A194F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#22304E
Tritanopia (blue-blind)
#4B2131
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4a194f;
/* rgb */ color: rgb(74, 25, 79);
/* oklch */ color: oklch(31.4% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#7f5a80',
    500: '#4a194f',
    950: '#000000',
  },
}
SCSS
$custom: #4a194f;
$custom-light: #7f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4a194f",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 294.444,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31413,
    "c": 0.10607,
    "h": 323.9
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#4A194F
secondary
#45853E
accent
#DB4C5A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A194F

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

Preview Lab → · Contrast checker → · Palette generator →

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