#49147F#49147F

#49147F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.163 H 299.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#49147F
RGBrgb(73, 20, 127)
HSLhsl(270, 73%, 29%)
HSVhsv(270, 84%, 50%)
CMYKcmyk(42.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(21.76, 45.09, -49.30)
CIE-LCHlch(21.76, 66.82, 312.45°)
OKLaboklab(34.63% 0.0811 -0.141)
OKLCHoklch(34.63% 0.163 299.9)
XYZxyz(6.8276, 3.4490, 20.3806)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49147F #4A7F14
analogous
#14147F #49147F #7F147F
triadic
#49147F #7F4914 #147F49
tetradic
#49147F #7F1414 #4A7F14 #147F7F
square
#49147F #7F1414 #4A7F14 #147F7F
split-complementary
#49147F #7F7F14 #147F14
monochromatic
#0F041A #2B0C4A #49147F #671CB4 #862FDE

Accessibility & contrast

On white

12.43
#49147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#49147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49147F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49147F#FFFFFF#000000##FFFFFF
##49147F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49147f;
/* rgb */ color: rgb(73, 20, 127);
/* oklch */ color: oklch(34.6% 0.163 299.9);
Tailwind
colors: {
  custom: {
    50: '#825aa5',
    500: '#49147f',
    950: '#000000',
  },
}
SCSS
$custom: #49147f;
$custom-light: #825aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#49147f",
  "rgb": {
    "r": 73,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 269.72,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34626,
    "c": 0.16272,
    "h": 299.9
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#49147F
secondary
#78B43B
accent
#EF3895
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49147F

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

Preview Lab → · Contrast checker → · Palette generator →

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