#49177D#49177D

#49177D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.158 H 300.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#49177D
RGBrgb(73, 23, 125)
HSLhsl(269, 69%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(41.6%, 81.6%, 0%, 51%)
CIE-LABlab(21.98, 43.40, -47.67)
CIE-LCHlch(21.98, 64.47, 312.31°)
OKLaboklab(34.72% 0.0794 -0.1363)
OKLCHoklch(34.72% 0.158 300.2)
XYZxyz(6.7548, 3.5099, 19.7197)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49177D #4B7D17
analogous
#17187D #49177D #7C177D
triadic
#49177D #7D4917 #177D49
tetradic
#49177D #7D1718 #4B7D17 #177D7C
square
#49177D #7D1718 #4B7D17 #177D7C
split-complementary
#49177D #7D7C17 #187D17
monochromatic
#0F051A #2B0D49 #49177D #6721B1 #8635DA

Accessibility & contrast

On white

12.34
#49177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#49177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49177D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49177D#FFFFFF#000000##FFFFFF
##49177D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#3D334A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49177d;
/* rgb */ color: rgb(73, 23, 125);
/* oklch */ color: oklch(34.7% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#825ba4',
    500: '#49177d',
    950: '#000000',
  },
}
SCSS
$custom: #49177d;
$custom-light: #825ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#49177d",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 269.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34722,
    "c": 0.15774,
    "h": 300.2
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#49177D
secondary
#79B23E
accent
#EC3C96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49177D

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

Preview Lab → · Contrast checker → · Palette generator →

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