#49217B#49217B

#49217B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.144 H 299.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#49217B
RGBrgb(73, 33, 123)
HSLhsl(267, 58%, 31%)
HSVhsv(267, 73%, 48%)
CMYKcmyk(40.7%, 73.2%, 0%, 51.8%)
CIE-LABlab(23.45, 38.18, -44.00)
CIE-LCHlch(23.45, 58.26, 310.95°)
OKLaboklab(35.7% 0.0703 -0.1256)
OKLCHoklch(35.7% 0.144 299.3)
XYZxyz(6.8658, 3.9342, 19.1327)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49217B #537B21
analogous
#21267B #49217B #76217B
triadic
#49217B #7B4921 #217B49
tetradic
#49217B #7B2126 #537B21 #217B76
square
#49217B #7B2126 #537B21 #217B76
split-complementary
#49217B #7B7621 #267B21
monochromatic
#10071A #2C144B #49217B #662EAB #8448CE

Accessibility & contrast

On white

11.75
#49217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#49217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49217B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49217B#FFFFFF#000000##FFFFFF
##49217B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#3D374B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49217b;
/* rgb */ color: rgb(73, 33, 123);
/* oklch */ color: oklch(35.7% 0.144 299.3);
Tailwind
colors: {
  custom: {
    50: '#8160a2',
    500: '#49217b',
    950: '#000000',
  },
}
SCSS
$custom: #49217b;
$custom-light: #8160a2;
$custom-dark: #000000;
JSON
{
  "hex": "#49217b",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 266.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35704,
    "c": 0.14392,
    "h": 299.3
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#49217B
secondary
#81AE4A
accent
#E1479C
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49217B

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

Preview Lab → · Contrast checker → · Palette generator →

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