#49177A#49177A

#49177A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 301.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#49177A
RGBrgb(73, 23, 122)
HSLhsl(270, 68%, 28%)
HSVhsv(270, 81%, 48%)
CMYKcmyk(40.2%, 81.1%, 0%, 52.2%)
CIE-LABlab(21.71, 42.63, -46.21)
CIE-LCHlch(21.71, 62.87, 312.69°)
OKLaboklab(34.45% 0.0803 -0.132)
OKLCHoklch(34.45% 0.155 301.3)
XYZxyz(6.5660, 3.4344, 18.7256)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49177A #487A17
analogous
#17177A #49177A #7A1779
triadic
#49177A #7A4917 #177A49
tetradic
#49177A #7A1717 #487A17 #17797A
square
#49177A #7A1717 #487A17 #17797A
split-complementary
#49177A #797A17 #177A17
monochromatic
#0F051A #2A0D47 #49177A #6821AD #8733D9

Accessibility & contrast

On white

12.45
#49177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49177A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49177A#FFFFFF#000000##FFFFFF
##49177A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49177a;
/* rgb */ color: rgb(73, 23, 122);
/* oklch */ color: oklch(34.4% 0.155 301.3);
Tailwind
colors: {
  custom: {
    50: '#815ba1',
    500: '#49177a',
    950: '#000000',
  },
}
SCSS
$custom: #49177a;
$custom-light: #815ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#49177a",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 270.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34446,
    "c": 0.15452,
    "h": 301.3
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#49177A
secondary
#76AF3E
accent
#EB3D93
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49177A

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

Preview Lab → · Contrast checker → · Palette generator →

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