#49147E#49147E

#49147E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.162 H 300.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#49147E
RGBrgb(73, 20, 126)
HSLhsl(270, 73%, 29%)
HSVhsv(270, 84%, 49%)
CMYKcmyk(42.1%, 84.1%, 0%, 50.6%)
CIE-LABlab(21.66, 44.84, -48.82)
CIE-LCHlch(21.66, 66.29, 312.57°)
OKLaboklab(34.53% 0.0815 -0.1396)
OKLCHoklch(34.53% 0.162 300.3)
XYZxyz(6.7628, 3.4231, 20.0390)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49147E #497E14
analogous
#14147E #49147E #7E147E
triadic
#49147E #7E4914 #147E49
tetradic
#49147E #7E1414 #497E14 #147E7E
square
#49147E #7E1414 #497E14 #147E7E
split-complementary
#49147E #7E7E14 #147E14
monochromatic
#0F041A #2A0C49 #49147E #681CB3 #862EDE

Accessibility & contrast

On white

12.47
#49147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#49147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49147E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49147E#FFFFFF#000000##FFFFFF
##49147E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49147e;
/* rgb */ color: rgb(73, 20, 126);
/* oklch */ color: oklch(34.5% 0.162 300.3);
Tailwind
colors: {
  custom: {
    50: '#825aa4',
    500: '#49147e',
    950: '#000000',
  },
}
SCSS
$custom: #49147e;
$custom-light: #825aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#49147e",
  "rgb": {
    "r": 73,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 270,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.16168,
    "h": 300.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#49147E
secondary
#77B33A
accent
#EF3894
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49147E

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

Preview Lab → · Contrast checker → · Palette generator →

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