#49197D#49197D

#49197D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.156 H 299.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#49197D
RGBrgb(73, 25, 125)
HSLhsl(269, 67%, 29%)
HSVhsv(269, 80%, 49%)
CMYKcmyk(41.6%, 80%, 0%, 51%)
CIE-LABlab(22.27, 42.55, -47.19)
CIE-LCHlch(22.27, 63.54, 312.04°)
OKLaboklab(34.93% 0.0777 -0.1349)
OKLCHoklch(34.93% 0.156 299.9)
XYZxyz(6.7960, 3.5923, 19.7334)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197D #4D7D19
analogous
#191B7D #49197D #7B197D
triadic
#49197D #7D4919 #197D49
tetradic
#49197D #7D191B #4D7D19 #197D7B
square
#49197D #7D191B #4D7D19 #197D7B
split-complementary
#49197D #7D7B19 #1B7D19
monochromatic
#0F051A #2B0F4A #49197D #6723B0 #8539D7

Accessibility & contrast

On white

12.22
#49197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#49197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49197D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197D#FFFFFF#000000##FFFFFF
##49197D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#3D344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49197d;
/* rgb */ color: rgb(73, 25, 125);
/* oklch */ color: oklch(34.9% 0.156 299.9);
Tailwind
colors: {
  custom: {
    50: '#815ca3',
    500: '#49197d',
    950: '#000000',
  },
}
SCSS
$custom: #49197d;
$custom-light: #815ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#49197d",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 268.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.15567,
    "h": 299.9
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#49197D
secondary
#7BB140
accent
#EA3E97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197D

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

Preview Lab → · Contrast checker → · Palette generator →

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