#49177B#49177B

#49177B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.156 H 300.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#49177B
RGBrgb(73, 23, 123)
HSLhsl(270, 68%, 29%)
HSVhsv(270, 81%, 48%)
CMYKcmyk(40.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(21.80, 42.89, -46.70)
CIE-LCHlch(21.80, 63.41, 312.56°)
OKLaboklab(34.54% 0.08 -0.1334)
OKLCHoklch(34.54% 0.156 300.9)
XYZxyz(6.6283, 3.4593, 19.0535)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49177B #497B17
analogous
#17177B #49177B #7B177B
triadic
#49177B #7B4917 #177B49
tetradic
#49177B #7B1717 #497B17 #177B7B
square
#49177B #7B1717 #497B17 #177B7B
split-complementary
#49177B #7B7B17 #177B17
monochromatic
#0F051A #2A0D47 #49177B #6821AF #8633D9

Accessibility & contrast

On white

12.41
#49177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#49177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49177B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49177B#FFFFFF#000000##FFFFFF
##49177B1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49177b;
/* rgb */ color: rgb(73, 23, 123);
/* oklch */ color: oklch(34.5% 0.156 300.9);
Tailwind
colors: {
  custom: {
    50: '#815ba2',
    500: '#49177b',
    950: '#000000',
  },
}
SCSS
$custom: #49177b;
$custom-light: #815ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#49177b",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 270,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.15559,
    "h": 300.9
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#49177B
secondary
#77B03E
accent
#EB3C94
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49177B

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

Preview Lab → · Contrast checker → · Palette generator →

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