#49178D#49178D

#49178D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.175 H 295.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#49178D
RGBrgb(73, 23, 141)
HSLhsl(265, 72%, 32%)
HSVhsv(265, 84%, 55%)
CMYKcmyk(48.2%, 83.7%, 0%, 44.7%)
CIE-LABlab(23.51, 47.53, -55.22)
CIE-LCHlch(23.51, 72.86, 310.72°)
OKLaboklab(36.25% 0.0741 -0.1584)
OKLCHoklch(36.25% 0.175 295.1)
XYZxyz(7.8605, 3.9521, 25.5428)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49178D #5B8D17
analogous
#17208D #49178D #84178D
triadic
#49178D #8D4917 #178D49
tetradic
#49178D #8D1720 #5B8D17 #178D84
square
#49178D #8D1720 #5B8D17 #178D84
split-complementary
#49178D #8D8417 #208D17
monochromatic
#130624 #2E0E58 #49178D #6420C2 #833FE0

Accessibility & contrast

On white

11.73
#49178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#49178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49178D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49178D#FFFFFF#000000##FFFFFF
##49178D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#353A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49178d;
/* rgb */ color: rgb(73, 23, 141);
/* oklch */ color: oklch(36.3% 0.175 295.1);
Tailwind
colors: {
  custom: {
    50: '#845caf',
    500: '#49178d',
    950: '#000000',
  },
}
SCSS
$custom: #49178d;
$custom-light: #845caf;
$custom-dark: #000000;
JSON
{
  "hex": "#49178d",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 265.424,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.17489,
    "h": 295.1
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#49178D
secondary
#8AC040
accent
#EF39A2
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #49178D

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

Preview Lab → · Contrast checker → · Palette generator →

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