#49167C#49167C

#49167C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.158 H 300.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#49167C
RGBrgb(73, 22, 124)
HSLhsl(270, 70%, 29%)
HSVhsv(270, 82%, 49%)
CMYKcmyk(41.1%, 82.3%, 0%, 51.4%)
CIE-LABlab(21.75, 43.56, -47.42)
CIE-LCHlch(21.75, 64.39, 312.57°)
OKLaboklab(34.53% 0.0806 -0.1355)
OKLCHoklch(34.53% 0.158 300.7)
XYZxyz(6.6718, 3.4455, 19.3784)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49167C #497C16
analogous
#16167C #49167C #7C167C
triadic
#49167C #7C4916 #167C49
tetradic
#49167C #7C1616 #497C16 #167C7C
square
#49167C #7C1616 #497C16 #167C7C
split-complementary
#49167C #7C7C16 #167C16
monochromatic
#0F051A #2A0D48 #49167C #681FB0 #8632DB

Accessibility & contrast

On white

12.43
#49167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#49167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49167C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49167C#FFFFFF#000000##FFFFFF
##49167C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#3D3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49167c;
/* rgb */ color: rgb(73, 22, 124);
/* oklch */ color: oklch(34.5% 0.158 300.7);
Tailwind
colors: {
  custom: {
    50: '#815aa3',
    500: '#49167c',
    950: '#000000',
  },
}
SCSS
$custom: #49167c;
$custom-light: #815aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#49167c",
  "rgb": {
    "r": 73,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 270,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.15767,
    "h": 300.7
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#49167C
secondary
#77B13D
accent
#ED3B94
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49167C

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

Preview Lab → · Contrast checker → · Palette generator →

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