#49197E#49197E

#49197E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.157 H 299.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#49197E
RGBrgb(73, 25, 126)
HSLhsl(269, 67%, 30%)
HSVhsv(269, 80%, 49%)
CMYKcmyk(42.1%, 80.2%, 0%, 50.6%)
CIE-LABlab(22.37, 42.81, -47.68)
CIE-LCHlch(22.37, 64.07, 311.92°)
OKLaboklab(35.02% 0.0774 -0.1363)
OKLCHoklch(35.02% 0.157 299.6)
XYZxyz(6.8602, 3.6180, 20.0715)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197E #4E7E19
analogous
#191C7E #49197E #7C197E
triadic
#49197E #7E4919 #197E49
tetradic
#49197E #7E191C #4E7E19 #197E7C
square
#49197E #7E191C #4E7E19 #197E7C
split-complementary
#49197E #7E7C19 #1C7E19
monochromatic
#0F051A #2B0F4B #49197E #6723B1 #853AD8

Accessibility & contrast

On white

12.18
#49197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#49197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49197E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197E#FFFFFF#000000##FFFFFF
##49197E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#3C344B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49197e;
/* rgb */ color: rgb(73, 25, 126);
/* oklch */ color: oklch(35.0% 0.157 299.6);
Tailwind
colors: {
  custom: {
    50: '#825ca4',
    500: '#49197e',
    950: '#000000',
  },
}
SCSS
$custom: #49197e;
$custom-light: #825ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#49197e",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 268.515,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.15677,
    "h": 299.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#49197E
secondary
#7CB241
accent
#EA3E98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197E

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

Preview Lab → · Contrast checker → · Palette generator →

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