#49217C#49217C

#49217C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.145 H 298.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#49217C
RGBrgb(73, 33, 124)
HSLhsl(266, 58%, 31%)
HSVhsv(266, 73%, 49%)
CMYKcmyk(41.1%, 73.4%, 0%, 51.4%)
CIE-LABlab(23.54, 38.45, -44.50)
CIE-LCHlch(23.54, 58.81, 310.83°)
OKLaboklab(35.79% 0.0701 -0.127)
OKLCHoklch(35.79% 0.145 298.9)
XYZxyz(6.9287, 3.9593, 19.4641)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49217C #547C21
analogous
#21267C #49217C #76217C
triadic
#49217C #7C4921 #217C49
tetradic
#49217C #7C2126 #547C21 #217C76
square
#49217C #7C2126 #547C21 #217C76
split-complementary
#49217C #7C7621 #267C21
monochromatic
#10071B #2D144C #49217C #652EAC #8449CF

Accessibility & contrast

On white

11.72
#49217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49217C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49217C#FFFFFF#000000##FFFFFF
##49217C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#3D374C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49217c;
/* rgb */ color: rgb(73, 33, 124);
/* oklch */ color: oklch(35.8% 0.145 298.9);
Tailwind
colors: {
  custom: {
    50: '#8160a3',
    500: '#49217c',
    950: '#000000',
  },
}
SCSS
$custom: #49217c;
$custom-light: #8160a3;
$custom-dark: #000000;
JSON
{
  "hex": "#49217c",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 266.374,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.14511,
    "h": 298.9
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#49217C
secondary
#82AF4A
accent
#E1479D
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49217C

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

Preview Lab → · Contrast checker → · Palette generator →

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