#49167B#49167B

#49167B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.157 H 301.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#49167B
RGBrgb(73, 22, 123)
HSLhsl(270, 70%, 28%)
HSVhsv(270, 82%, 48%)
CMYKcmyk(40.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(21.65, 43.30, -46.93)
CIE-LCHlch(21.65, 63.86, 312.70°)
OKLaboklab(34.44% 0.0809 -0.1341)
OKLCHoklch(34.44% 0.157 301.1)
XYZxyz(6.6088, 3.4203, 19.0471)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49167B #487B16
analogous
#16167B #49167B #7B167A
triadic
#49167B #7B4916 #167B49
tetradic
#49167B #7B1616 #487B16 #167A7B
square
#49167B #7B1616 #487B16 #167A7B
split-complementary
#49167B #7A7B16 #167B16
monochromatic
#0F051A #2A0D47 #49167B #681FAF #8731DA

Accessibility & contrast

On white

12.47
#49167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49167B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49167B#FFFFFF#000000##FFFFFF
##49167B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#3E3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49167b;
/* rgb */ color: rgb(73, 22, 123);
/* oklch */ color: oklch(34.4% 0.157 301.1);
Tailwind
colors: {
  custom: {
    50: '#815aa2',
    500: '#49167b',
    950: '#000000',
  },
}
SCSS
$custom: #49167b;
$custom-light: #815aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#49167b",
  "rgb": {
    "r": 73,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 270.297,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.15661,
    "h": 301.1
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#49167B
secondary
#76B03D
accent
#EC3B93
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49167B

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

Preview Lab → · Contrast checker → · Palette generator →

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