#49167A#49167A

#49167A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.156 H 301.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#49167A
RGBrgb(73, 22, 122)
HSLhsl(271, 69%, 28%)
HSVhsv(271, 82%, 48%)
CMYKcmyk(40.2%, 82%, 0%, 52.2%)
CIE-LABlab(21.56, 43.05, -46.45)
CIE-LCHlch(21.56, 63.33, 312.83°)
OKLaboklab(34.35% 0.0812 -0.1327)
OKLCHoklch(34.35% 0.156 301.5)
XYZxyz(6.5466, 3.3954, 18.7191)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49167A #477A16
analogous
#17167A #49167A #7A1679
triadic
#49167A #7A4916 #167A49
tetradic
#49167A #7A1716 #477A16 #16797A
square
#49167A #7A1716 #477A16 #16797A
split-complementary
#49167A #797A16 #167A17
monochromatic
#10051A #2A0D46 #49167A #681FAE #8731DA

Accessibility & contrast

On white

12.51
#49167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#49167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49167A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49167A#FFFFFF#000000##FFFFFF
##49167A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#3E3148
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49167a;
/* rgb */ color: rgb(73, 22, 122);
/* oklch */ color: oklch(34.3% 0.156 301.5);
Tailwind
colors: {
  custom: {
    50: '#815aa1',
    500: '#49167a',
    950: '#000000',
  },
}
SCSS
$custom: #49167a;
$custom-light: #815aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#49167a",
  "rgb": {
    "r": 73,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 270.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.15554,
    "h": 301.5
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#49167A
secondary
#75AF3D
accent
#EC3C92
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49167A

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

Preview Lab → · Contrast checker → · Palette generator →

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