#49186A#49186A

#49186A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 307.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#49186A
RGBrgb(73, 24, 106)
HSLhsl(276, 63%, 25%)
HSVhsv(276, 77%, 42%)
CMYKcmyk(31.1%, 77.4%, 0%, 58.4%)
CIE-LABlab(20.48, 38.18, -37.89)
CIE-LCHlch(20.48, 53.79, 315.22°)
OKLaboklab(33.16% 0.0833 -0.1075)
OKLCHoklch(33.16% 0.136 307.8)
XYZxyz(5.6753, 3.1104, 13.9343)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49186A #396A18
analogous
#20186A #49186A #6A1862
triadic
#49186A #6A4918 #186A49
tetradic
#49186A #6A2018 #396A18 #18626A
square
#49186A #6A2018 #396A18 #18626A
split-complementary
#49186A #626A18 #186A20
monochromatic
#110619 #270D38 #49186A #6B239C #8E2FCE

Accessibility & contrast

On white

12.95
#49186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#49186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49186A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49186A#FFFFFF#000000##FFFFFF
##49186A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#442B3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #49186a;
/* rgb */ color: rgb(73, 24, 106);
/* oklch */ color: oklch(33.2% 0.136 307.8);
Tailwind
colors: {
  custom: {
    50: '#7f5a95',
    500: '#49186a',
    950: '#000000',
  },
}
SCSS
$custom: #49186a;
$custom-light: #7f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#49186a",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 275.854,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.13604,
    "h": 307.8
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#49186A
secondary
#65A03E
accent
#E64284
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #49186A

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

Preview Lab → · Contrast checker → · Palette generator →

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