#49188C#49188C

#49188C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 295.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#49188C
RGBrgb(73, 24, 140)
HSLhsl(265, 71%, 32%)
HSVhsv(265, 83%, 55%)
CMYKcmyk(47.9%, 82.9%, 0%, 45.1%)
CIE-LABlab(23.55, 46.87, -54.54)
CIE-LCHlch(23.55, 71.92, 310.68°)
OKLaboklab(36.25% 0.0737 -0.1564)
OKLCHoklch(36.25% 0.173 295.2)
XYZxyz(7.8066, 3.9630, 25.1595)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49188C #5B8C18
analogous
#18218C #49188C #83188C
triadic
#49188C #8C4918 #188C49
tetradic
#49188C #8C1821 #5B8C18 #188C83
square
#49188C #8C1821 #5B8C18 #188C83
split-complementary
#49188C #8C8318 #218C18
monochromatic
#130624 #2E0F58 #49188C #6421C0 #8340DE

Accessibility & contrast

On white

11.71
#49188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#49188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49188C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49188C#FFFFFF#000000##FFFFFF
##49188C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#353A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49188c;
/* rgb */ color: rgb(73, 24, 140);
/* oklch */ color: oklch(36.2% 0.173 295.2);
Tailwind
colors: {
  custom: {
    50: '#835caf',
    500: '#49188c',
    950: '#000000',
  },
}
SCSS
$custom: #49188c;
$custom-light: #835caf;
$custom-dark: #000000;
JSON
{
  "hex": "#49188c",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 265.345,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36248,
    "c": 0.17294,
    "h": 295.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#49188C
secondary
#8ABF41
accent
#ED3AA2
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #49188C

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

Preview Lab → · Contrast checker → · Palette generator →

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