#49229D#49229D

#49229D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.182 H 289.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#49229D
RGBrgb(73, 34, 157)
HSLhsl(259, 64%, 37%)
HSVhsv(259, 78%, 62%)
CMYKcmyk(53.5%, 78.3%, 0%, 38.4%)
CIE-LABlab(26.72, 47.12, -59.82)
CIE-LCHlch(26.72, 76.15, 308.23°)
OKLaboklab(38.96% 0.0608 -0.172)
OKLCHoklch(38.96% 0.182 289.5)
XYZxyz(9.4037, 4.9944, 32.3603)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49229D #769D22
analogous
#22399D #49229D #86229D
triadic
#49229D #9D4922 #229D49
tetradic
#49229D #9D2239 #769D22 #229D86
square
#49229D #9D2239 #769D22 #229D86
split-complementary
#49229D #9D8622 #399D22
monochromatic
#1A0C38 #32176B #49229D #602DCF #865DDC

Accessibility & contrast

On white

10.51
#49229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#49229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49229D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49229D#FFFFFF#000000##FFFFFF
##49229D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#29455F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #49229d;
/* rgb */ color: rgb(73, 34, 157);
/* oklch */ color: oklch(39.0% 0.182 289.5);
Tailwind
colors: {
  custom: {
    50: '#8562bb',
    500: '#49229d',
    950: '#000000',
  },
}
SCSS
$custom: #49229d;
$custom-light: #8562bb;
$custom-dark: #000000;
JSON
{
  "hex": "#49229d",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 259.024,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.18242,
    "h": 289.5
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#49229D
secondary
#A0C15A
accent
#E740B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #49229D

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

Preview Lab → · Contrast checker → · Palette generator →

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