#49147B#49147B

#49147B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.159 H 301.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#49147B
RGBrgb(73, 20, 123)
HSLhsl(271, 72%, 28%)
HSVhsv(271, 84%, 48%)
CMYKcmyk(40.7%, 83.7%, 0%, 51.8%)
CIE-LABlab(21.38, 44.09, -47.38)
CIE-LCHlch(21.38, 64.72, 312.94°)
OKLaboklab(34.25% 0.0825 -0.1354)
OKLCHoklch(34.25% 0.159 301.3)
XYZxyz(6.5721, 3.3468, 19.0348)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49147B #467B14
analogous
#16147B #49147B #7B1479
triadic
#49147B #7B4914 #147B49
tetradic
#49147B #7B1614 #467B14 #14797B
square
#49147B #7B1614 #467B14 #14797B
split-complementary
#49147B #797B14 #147B16
monochromatic
#10041A #2A0B46 #49147B #681DB0 #872DDD

Accessibility & contrast

On white

12.58
#49147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#49147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49147B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49147B#FFFFFF#000000##FFFFFF
##49147B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#3E3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #49147b;
/* rgb */ color: rgb(73, 20, 123);
/* oklch */ color: oklch(34.2% 0.159 301.3);
Tailwind
colors: {
  custom: {
    50: '#8159a2',
    500: '#49147b',
    950: '#000000',
  },
}
SCSS
$custom: #49147b;
$custom-light: #8159a2;
$custom-dark: #000000;
JSON
{
  "hex": "#49147b",
  "rgb": {
    "r": 73,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 270.874,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.15854,
    "h": 301.3
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#49147B
secondary
#74B13A
accent
#EF3991
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49147B

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

Preview Lab → · Contrast checker → · Palette generator →

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