#49198B#49198B

#49198B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 295.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#49198B
RGBrgb(73, 25, 139)
HSLhsl(265, 70%, 32%)
HSVhsv(265, 82%, 55%)
CMYKcmyk(47.5%, 82%, 0%, 45.5%)
CIE-LABlab(23.59, 46.21, -53.85)
CIE-LCHlch(23.59, 70.95, 310.63°)
OKLaboklab(36.25% 0.0733 -0.1544)
OKLCHoklch(36.25% 0.171 295.4)
XYZxyz(7.7542, 3.9756, 24.7799)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49198B #5B8B19
analogous
#19228B #49198B #82198B
triadic
#49198B #8B4919 #198B49
tetradic
#49198B #8B1922 #5B8B19 #198B82
square
#49198B #8B1922 #5B8B19 #198B82
split-complementary
#49198B #8B8219 #228B19
monochromatic
#130623 #2E1057 #49198B #6422BF #8341DD

Accessibility & contrast

On white

11.70
#49198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#49198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49198B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49198B#FFFFFF#000000##FFFFFF
##49198B1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#363A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49198b;
/* rgb */ color: rgb(73, 25, 139);
/* oklch */ color: oklch(36.2% 0.171 295.4);
Tailwind
colors: {
  custom: {
    50: '#835dae',
    500: '#49198b',
    950: '#000000',
  },
}
SCSS
$custom: #49198b;
$custom-light: #835dae;
$custom-dark: #000000;
JSON
{
  "hex": "#49198b",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 265.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.17094,
    "h": 295.4
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#49198B
secondary
#8ABE42
accent
#EC3BA2
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #49198B

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

Preview Lab → · Contrast checker → · Palette generator →

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