#49197C#49197C

#49197C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.155 H 300.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#49197C
RGBrgb(73, 25, 124)
HSLhsl(269, 66%, 29%)
HSVhsv(269, 80%, 49%)
CMYKcmyk(41.1%, 79.8%, 0%, 51.4%)
CIE-LABlab(22.18, 42.29, -46.70)
CIE-LCHlch(22.18, 63.00, 312.16°)
OKLaboklab(34.84% 0.078 -0.1335)
OKLCHoklch(34.84% 0.155 300.3)
XYZxyz(6.7325, 3.5669, 19.3987)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49197C #4C7C19
analogous
#191B7C #49197C #7B197C
triadic
#49197C #7C4919 #197C49
tetradic
#49197C #7C191B #4C7C19 #197C7B
square
#49197C #7C191B #4C7C19 #197C7B
split-complementary
#49197C #7C7B19 #1B7C19
monochromatic
#0F0519 #2B0F49 #49197C #6723AF #8538D7

Accessibility & contrast

On white

12.26
#49197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49197C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49197C#FFFFFF#000000##FFFFFF
##49197C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3D334A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49197c;
/* rgb */ color: rgb(73, 25, 124);
/* oklch */ color: oklch(34.8% 0.155 300.3);
Tailwind
colors: {
  custom: {
    50: '#815ca3',
    500: '#49197c',
    950: '#000000',
  },
}
SCSS
$custom: #49197c;
$custom-light: #815ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#49197c",
  "rgb": {
    "r": 73,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 269.091,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34836,
    "c": 0.15457,
    "h": 300.3
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#49197C
secondary
#7AB040
accent
#E93E96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49197C

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

Preview Lab → · Contrast checker → · Palette generator →

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