#49218A#49218A

#49218A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.162 H 294.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#49218A
RGBrgb(73, 33, 138)
HSLhsl(263, 61%, 34%)
HSVhsv(263, 76%, 54%)
CMYKcmyk(47.1%, 76.1%, 0%, 45.9%)
CIE-LABlab(24.76, 42.30, -51.31)
CIE-LCHlch(24.76, 66.50, 309.51°)
OKLaboklab(37.04% 0.067 -0.147)
OKLCHoklch(37.04% 0.162 294.5)
XYZxyz(7.8777, 4.3389, 24.4623)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49218A #628A21
analogous
#212D8A #49218A #7D218A
triadic
#49218A #8A4921 #218A49
tetradic
#49218A #8A212D #628A21 #218A7D
square
#49218A #8A212D #628A21 #218A7D
split-complementary
#49218A #8A7D21 #2D8A21
monochromatic
#150927 #2F1559 #49218A #632DBB #8350D5

Accessibility & contrast

On white

11.24
#49218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#49218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49218A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49218A#FFFFFF#000000##FFFFFF
##49218A1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#363D54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #49218a;
/* rgb */ color: rgb(73, 33, 138);
/* oklch */ color: oklch(37.0% 0.162 294.5);
Tailwind
colors: {
  custom: {
    50: '#8361ad',
    500: '#49218a',
    950: '#000000',
  },
}
SCSS
$custom: #49218a;
$custom-light: #8361ad;
$custom-dark: #000000;
JSON
{
  "hex": "#49218a",
  "rgb": {
    "r": 73,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 262.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.16156,
    "h": 294.5
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#49218A
secondary
#90B94E
accent
#E543A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #49218A

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

Preview Lab → · Contrast checker → · Palette generator →

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