#49178F#49178F

#49178F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.177 H 294.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#49178F
RGBrgb(73, 23, 143)
HSLhsl(265, 72%, 33%)
HSVhsv(265, 84%, 56%)
CMYKcmyk(49%, 83.9%, 0%, 43.9%)
CIE-LABlab(23.71, 48.05, -56.14)
CIE-LCHlch(23.71, 73.89, 310.56°)
OKLaboklab(36.45% 0.0733 -0.1611)
OKLCHoklch(36.45% 0.177 294.5)
XYZxyz(8.0106, 4.0122, 26.3336)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49178F #5D8F17
analogous
#17218F #49178F #85178F
triadic
#49178F #8F4917 #178F49
tetradic
#49178F #8F1721 #5D8F17 #178F85
square
#49178F #8F1721 #5D8F17 #178F85
split-complementary
#49178F #8F8517 #218F17
monochromatic
#130626 #2E0F5A #49178F #641FC4 #8340E0

Accessibility & contrast

On white

11.65
#49178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#49178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49178F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49178F#FFFFFF#000000##FFFFFF
##49178F1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#343B54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49178f;
/* rgb */ color: rgb(73, 23, 143);
/* oklch */ color: oklch(36.4% 0.177 294.5);
Tailwind
colors: {
  custom: {
    50: '#845cb1',
    500: '#49178f',
    950: '#000000',
  },
}
SCSS
$custom: #49178f;
$custom-light: #845cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#49178f",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 265,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.17703,
    "h": 294.5
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#49178F
secondary
#8CC141
accent
#EF39A3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #49178F

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

Preview Lab → · Contrast checker → · Palette generator →

#49178F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva