#4A195B#4A195B

#4A195B is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.119 H 316.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4A195B
RGBrgb(74, 25, 91)
HSLhsl(285, 57%, 23%)
HSVhsv(285, 73%, 36%)
CMYKcmyk(18.7%, 72.5%, 0%, 64.3%)
CIE-LABlab(19.67, 34.36, -29.31)
CIE-LCHlch(19.67, 45.16, 319.53°)
OKLaboklab(32.25% 0.0856 -0.0823)
OKLCHoklch(32.25% 0.119 316.1)
XYZxyz(5.0597, 2.9066, 10.1900)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A195B #2A5B19
analogous
#29195B #4A195B #5B194B
triadic
#4A195B #5B4A19 #195B4A
tetradic
#4A195B #5B2919 #2A5B19 #194B5B
square
#4A195B #5B2919 #2A5B19 #194B5B
split-complementary
#4A195B #4B5B19 #195B29
monochromatic
#140718 #230C2B #4A195B #71268B #9833BB

Accessibility & contrast

On white

13.28
#4A195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A195B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A195B#FFFFFF#000000##FFFFFF
##4A195B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#492637
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a195b;
/* rgb */ color: rgb(74, 25, 91);
/* oklch */ color: oklch(32.2% 0.119 316.1);
Tailwind
colors: {
  custom: {
    50: '#7f5a8a',
    500: '#4a195b',
    950: '#000000',
  },
}
SCSS
$custom: #4a195b;
$custom-light: #7f5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a195b",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 284.545,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32246,
    "c": 0.11877,
    "h": 316.1
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#4A195B
secondary
#54913F
accent
#E0486F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A195B

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

Preview Lab → · Contrast checker → · Palette generator →

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