#49177E#49177E

#49177E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.159 H 299.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#49177E
RGBrgb(73, 23, 126)
HSLhsl(269, 69%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(42.1%, 81.7%, 0%, 50.6%)
CIE-LABlab(22.07, 43.66, -48.16)
CIE-LCHlch(22.07, 65.00, 312.19°)
OKLaboklab(34.81% 0.0791 -0.1377)
OKLCHoklch(34.81% 0.159 299.9)
XYZxyz(6.8190, 3.5355, 20.0578)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49177E #4C7E17
analogous
#17197E #49177E #7D177E
triadic
#49177E #7E4917 #177E49
tetradic
#49177E #7E1719 #4C7E17 #177E7D
square
#49177E #7E1719 #4C7E17 #177E7D
split-complementary
#49177E #7E7D17 #197E17
monochromatic
#0F051A #2B0E4A #49177E #6720B2 #8535DA

Accessibility & contrast

On white

12.30
#49177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#49177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49177E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49177E#FFFFFF#000000##FFFFFF
##49177E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#3C334B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49177e;
/* rgb */ color: rgb(73, 23, 126);
/* oklch */ color: oklch(34.8% 0.159 299.9);
Tailwind
colors: {
  custom: {
    50: '#825ba4',
    500: '#49177e',
    950: '#000000',
  },
}
SCSS
$custom: #49177e;
$custom-light: #825ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#49177e",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 269.126,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34814,
    "c": 0.15882,
    "h": 299.9
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#49177E
secondary
#7AB33E
accent
#EC3C96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49177E

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

Preview Lab → · Contrast checker → · Palette generator →

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