#49157F#49157F

#49157F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.162 H 299.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#49157F
RGBrgb(73, 21, 127)
HSLhsl(269, 72%, 29%)
HSVhsv(269, 83%, 50%)
CMYKcmyk(42.5%, 83.5%, 0%, 50.2%)
CIE-LABlab(21.89, 44.71, -49.09)
CIE-LCHlch(21.89, 66.40, 312.33°)
OKLaboklab(34.72% 0.0804 -0.1404)
OKLCHoklch(34.72% 0.162 299.8)
XYZxyz(6.8456, 3.4850, 20.3866)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49157F #4B7F15
analogous
#15167F #49157F #7E157F
triadic
#49157F #7F4915 #157F49
tetradic
#49157F #7F1516 #4B7F15 #157F7E
square
#49157F #7F1516 #4B7F15 #157F7E
split-complementary
#49157F #7F7E15 #167F15
monochromatic
#0F041A #2B0C4A #49157F #671EB4 #8631DD

Accessibility & contrast

On white

12.37
#49157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#49157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49157F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49157F#FFFFFF#000000##FFFFFF
##49157F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#3C334B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49157f;
/* rgb */ color: rgb(73, 21, 127);
/* oklch */ color: oklch(34.7% 0.162 299.8);
Tailwind
colors: {
  custom: {
    50: '#825aa5',
    500: '#49157f',
    950: '#000000',
  },
}
SCSS
$custom: #49157f;
$custom-light: #825aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#49157f",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 269.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34716,
    "c": 0.16181,
    "h": 299.8
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#49157F
secondary
#79B43C
accent
#EE3996
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49157F

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

Preview Lab → · Contrast checker → · Palette generator →

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