#49157B#49157B

#49157B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.158 H 301.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#49157B
RGBrgb(73, 21, 123)
HSLhsl(271, 71%, 28%)
HSVhsv(271, 83%, 48%)
CMYKcmyk(40.7%, 82.9%, 0%, 51.8%)
CIE-LABlab(21.52, 43.70, -47.16)
CIE-LCHlch(21.52, 64.30, 312.82°)
OKLaboklab(34.34% 0.0817 -0.1348)
OKLCHoklch(34.34% 0.158 301.2)
XYZxyz(6.5901, 3.3828, 19.0408)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49157B #477B15
analogous
#16157B #49157B #7B157A
triadic
#49157B #7B4915 #157B49
tetradic
#49157B #7B1615 #477B15 #157A7B
square
#49157B #7B1615 #477B15 #157A7B
split-complementary
#49157B #7A7B15 #157B16
monochromatic
#10041A #2A0C47 #49157B #681EAF #872FDB

Accessibility & contrast

On white

12.53
#49157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#49157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49157B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49157B#FFFFFF#000000##FFFFFF
##49157B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49157b;
/* rgb */ color: rgb(73, 21, 123);
/* oklch */ color: oklch(34.3% 0.158 301.2);
Tailwind
colors: {
  custom: {
    50: '#815aa2',
    500: '#49157b',
    950: '#000000',
  },
}
SCSS
$custom: #49157b;
$custom-light: #815aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#49157b",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 270.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.15759,
    "h": 301.2
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#49157B
secondary
#75B03B
accent
#EE3A92
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49157B

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

Preview Lab → · Contrast checker → · Palette generator →

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