#49197A#49197A

#49197A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.152 H 301.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#49197A
RGBrgb(73, 25, 122)
HSLhsl(270, 66%, 29%)
HSVhsv(270, 80%, 48%)
CMYKcmyk(40.2%, 79.5%, 0%, 52.2%)
CIE-LABlab(22.00, 41.77, -45.72)
CIE-LCHlch(22.00, 61.93, 312.42°)
OKLaboklab(34.66% 0.0785 -0.1306)
OKLCHoklch(34.66% 0.152 301)
XYZxyz(6.6073, 3.5168, 18.7393)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197A #4A7A19
analogous
#191A7A #49197A #7A197A
triadic
#49197A #7A4919 #197A49
tetradic
#49197A #7A191A #4A7A19 #197A7A
square
#49197A #7A191A #4A7A19 #197A7A
split-complementary
#49197A #7A7A19 #1A7A19
monochromatic
#0F0519 #2B0F47 #49197A #6723AD #8637D6

Accessibility & contrast

On white

12.33
#49197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#49197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49197A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197A#FFFFFF#000000##FFFFFF
##49197A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3E3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49197a;
/* rgb */ color: rgb(73, 25, 122);
/* oklch */ color: oklch(34.7% 0.152 301.0);
Tailwind
colors: {
  custom: {
    50: '#815ca1',
    500: '#49197a',
    950: '#000000',
  },
}
SCSS
$custom: #49197a;
$custom-light: #815ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#49197a",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 269.691,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34655,
    "c": 0.15238,
    "h": 301
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#49197A
secondary
#78AF40
accent
#E93F95
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197A

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

Preview Lab → · Contrast checker → · Palette generator →

#49197A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva