#49178B#49178B

#49178B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.173 H 295.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#49178B
RGBrgb(73, 23, 139)
HSLhsl(266, 72%, 32%)
HSVhsv(266, 83%, 55%)
CMYKcmyk(47.5%, 83.5%, 0%, 45.5%)
CIE-LABlab(23.31, 47.01, -54.30)
CIE-LCHlch(23.31, 71.82, 310.88°)
OKLaboklab(36.06% 0.0748 -0.1557)
OKLCHoklch(36.06% 0.173 295.6)
XYZxyz(7.7130, 3.8931, 24.7662)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49178B #598B17
analogous
#171F8B #49178B #83178B
triadic
#49178B #8B4917 #178B49
tetradic
#49178B #8B171F #598B17 #178B83
square
#49178B #8B171F #598B17 #178B83
split-complementary
#49178B #8B8317 #1F8B17
monochromatic
#120622 #2D0E56 #49178B #6520C0 #833DDF

Accessibility & contrast

On white

11.81
#49178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#49178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49178B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49178B#FFFFFF#000000##FFFFFF
##49178B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#363952
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49178b;
/* rgb */ color: rgb(73, 23, 139);
/* oklch */ color: oklch(36.1% 0.173 295.6);
Tailwind
colors: {
  custom: {
    50: '#835cae',
    500: '#49178b',
    950: '#000000',
  },
}
SCSS
$custom: #49178b;
$custom-light: #835cae;
$custom-dark: #000000;
JSON
{
  "hex": "#49178b",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 265.862,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36056,
    "c": 0.17275,
    "h": 295.6
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#49178B
secondary
#88BF3F
accent
#EE39A0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #49178B

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

Preview Lab → · Contrast checker → · Palette generator →

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