#49197B#49197B

#49197B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.153 H 300.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#49197B
RGBrgb(73, 25, 123)
HSLhsl(269, 66%, 29%)
HSVhsv(269, 80%, 48%)
CMYKcmyk(40.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(22.09, 42.03, -46.21)
CIE-LCHlch(22.09, 62.47, 312.29°)
OKLaboklab(34.74% 0.0783 -0.132)
OKLCHoklch(34.74% 0.153 300.7)
XYZxyz(6.6696, 3.5417, 19.0673)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197B #4B7B19
analogous
#191A7B #49197B #7A197B
triadic
#49197B #7B4919 #197B49
tetradic
#49197B #7B191A #4B7B19 #197B7A
square
#49197B #7B191A #4B7B19 #197B7A
split-complementary
#49197B #7B7A19 #1A7B19
monochromatic
#0F0519 #2B0F48 #49197B #6723AE #8638D7

Accessibility & contrast

On white

12.29
#49197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#49197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49197B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197B#FFFFFF#000000##FFFFFF
##49197B1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3E3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49197b;
/* rgb */ color: rgb(73, 25, 123);
/* oklch */ color: oklch(34.7% 0.153 300.7);
Tailwind
colors: {
  custom: {
    50: '#815ca2',
    500: '#49197b',
    950: '#000000',
  },
}
SCSS
$custom: #49197b;
$custom-light: #815ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#49197b",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 269.388,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.15348,
    "h": 300.7
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#49197B
secondary
#79AF40
accent
#E93F96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197B

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

Preview Lab → · Contrast checker → · Palette generator →

#49197B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva