#49217D#49217D

#49217D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.146 H 298.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#49217D
RGBrgb(73, 33, 125)
HSLhsl(266, 58%, 31%)
HSVhsv(266, 74%, 49%)
CMYKcmyk(41.6%, 73.6%, 0%, 51%)
CIE-LABlab(23.62, 38.73, -45.00)
CIE-LCHlch(23.62, 59.37, 310.72°)
OKLaboklab(35.88% 0.0699 -0.1285)
OKLCHoklch(35.88% 0.146 298.6)
XYZxyz(6.9922, 3.9847, 19.7988)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49217D #557D21
analogous
#21277D #49217D #77217D
triadic
#49217D #7D4921 #217D49
tetradic
#49217D #7D2127 #557D21 #217D77
square
#49217D #7D2127 #557D21 #217D77
split-complementary
#49217D #7D7721 #277D21
monochromatic
#10071C #2D144D #49217D #652EAD #8349CF

Accessibility & contrast

On white

11.69
#49217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#49217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49217D
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49217D#FFFFFF#000000##FFFFFF
##49217D1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#3C384C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49217d;
/* rgb */ color: rgb(73, 33, 125);
/* oklch */ color: oklch(35.9% 0.146 298.6);
Tailwind
colors: {
  custom: {
    50: '#8160a3',
    500: '#49217d',
    950: '#000000',
  },
}
SCSS
$custom: #49217d;
$custom-light: #8160a3;
$custom-dark: #000000;
JSON
{
  "hex": "#49217d",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 266.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.1463,
    "h": 298.6
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#49217D
secondary
#84B04A
accent
#E1469E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49217D

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

Preview Lab → · Contrast checker → · Palette generator →

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