#49157E#49157E

#49157E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.161 H 300.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#49157E
RGBrgb(73, 21, 126)
HSLhsl(270, 71%, 29%)
HSVhsv(270, 83%, 49%)
CMYKcmyk(42.1%, 83.3%, 0%, 50.6%)
CIE-LABlab(21.80, 44.46, -48.61)
CIE-LCHlch(21.80, 65.87, 312.45°)
OKLaboklab(34.62% 0.0807 -0.139)
OKLCHoklch(34.62% 0.161 300.1)
XYZxyz(6.7808, 3.4591, 20.0450)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49157E #4A7E15
analogous
#15167E #49157E #7E157E
triadic
#49157E #7E4915 #157E49
tetradic
#49157E #7E1516 #4A7E15 #157E7E
square
#49157E #7E1516 #4A7E15 #157E7E
split-complementary
#49157E #7E7E15 #167E15
monochromatic
#0F041A #2B0C4A #49157E #671EB2 #8631DD

Accessibility & contrast

On white

12.41
#49157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#49157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49157E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49157E#FFFFFF#000000##FFFFFF
##49157E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#3C334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49157e;
/* rgb */ color: rgb(73, 21, 126);
/* oklch */ color: oklch(34.6% 0.161 300.1);
Tailwind
colors: {
  custom: {
    50: '#825aa4',
    500: '#49157e',
    950: '#000000',
  },
}
SCSS
$custom: #49157e;
$custom-light: #825aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#49157e",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 269.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34622,
    "c": 0.16075,
    "h": 300.1
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#49157E
secondary
#78B33C
accent
#EE3A95
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49157E

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

Preview Lab → · Contrast checker → · Palette generator →

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