#49217A#49217A

#49217A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.143 H 299.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#49217A
RGBrgb(73, 33, 122)
HSLhsl(267, 57%, 30%)
HSVhsv(267, 73%, 48%)
CMYKcmyk(40.2%, 73%, 0%, 52.2%)
CIE-LABlab(23.37, 37.91, -43.50)
CIE-LCHlch(23.37, 57.70, 311.07°)
OKLaboklab(35.62% 0.0705 -0.1241)
OKLCHoklch(35.62% 0.143 299.6)
XYZxyz(6.8035, 3.9092, 18.8047)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49217A #527A21
analogous
#21267A #49217A #75217A
triadic
#49217A #7A4921 #217A49
tetradic
#49217A #7A2126 #527A21 #217A75
square
#49217A #7A2126 #527A21 #217A75
split-complementary
#49217A #7A7521 #267A21
monochromatic
#0F071A #2C144A #49217A #662EAA #8448CD

Accessibility & contrast

On white

11.79
#49217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#49217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49217A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49217A#FFFFFF#000000##FFFFFF
##49217A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#3E374B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49217a;
/* rgb */ color: rgb(73, 33, 122);
/* oklch */ color: oklch(35.6% 0.143 299.6);
Tailwind
colors: {
  custom: {
    50: '#8060a1',
    500: '#49217a',
    950: '#000000',
  },
}
SCSS
$custom: #49217a;
$custom-light: #8060a1;
$custom-dark: #000000;
JSON
{
  "hex": "#49217a",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 266.966,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.14275,
    "h": 299.6
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#49217A
secondary
#80AD4A
accent
#E1479C
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49217A

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

Preview Lab → · Contrast checker → · Palette generator →

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