#49186C#49186C

#49186C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.138 H 306.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#49186C
RGBrgb(73, 24, 108)
HSLhsl(275, 64%, 26%)
HSVhsv(275, 78%, 42%)
CMYKcmyk(32.4%, 77.8%, 0%, 57.6%)
CIE-LABlab(20.64, 38.68, -38.93)
CIE-LCHlch(20.64, 54.87, 314.82°)
OKLaboklab(33.32% 0.0829 -0.1106)
OKLCHoklch(33.32% 0.138 306.9)
XYZxyz(5.7805, 3.1525, 14.4884)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49186C #3B6C18
analogous
#1F186C #49186C #6C1865
triadic
#49186C #6C4918 #186C49
tetradic
#49186C #6C1F18 #3B6C18 #18656C
square
#49186C #6C1F18 #3B6C18 #18656C
split-complementary
#49186C #656C18 #186C1F
monochromatic
#110619 #270D3A #49186C #6B239E #8D2ED0

Accessibility & contrast

On white

12.88
#49186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#49186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49186C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49186C#FFFFFF#000000##FFFFFF
##49186C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#432C41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #49186c;
/* rgb */ color: rgb(73, 24, 108);
/* oklch */ color: oklch(33.3% 0.138 306.9);
Tailwind
colors: {
  custom: {
    50: '#805a97',
    500: '#49186c',
    950: '#000000',
  },
}
SCSS
$custom: #49186c;
$custom-light: #805a97;
$custom-dark: #000000;
JSON
{
  "hex": "#49186c",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 275,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33323,
    "c": 0.13823,
    "h": 306.9
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#49186C
secondary
#68A23E
accent
#E74186
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #49186C

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

Preview Lab → · Contrast checker → · Palette generator →

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