#49186F#49186F

#49186F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.141 H 305.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#49186F
RGBrgb(73, 24, 111)
HSLhsl(274, 64%, 26%)
HSVhsv(274, 78%, 44%)
CMYKcmyk(34.2%, 78.4%, 0%, 56.5%)
CIE-LABlab(20.89, 39.42, -40.47)
CIE-LCHlch(20.89, 56.49, 314.25°)
OKLaboklab(33.58% 0.0823 -0.1151)
OKLCHoklch(33.58% 0.142 305.5)
XYZxyz(5.9429, 3.2175, 15.3438)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49186F #3E6F18
analogous
#1E186F #49186F #6F186A
triadic
#49186F #6F4918 #186F49
tetradic
#49186F #6F1E18 #3E6F18 #186A6F
square
#49186F #6F1E18 #3E6F18 #186A6F
split-complementary
#49186F #6A6F18 #186F1E
monochromatic
#110519 #280D3D #49186F #6A23A1 #8B2FD2

Accessibility & contrast

On white

12.78
#49186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#49186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49186F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49186F#FFFFFF#000000##FFFFFF
##49186F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#422D42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #49186f;
/* rgb */ color: rgb(73, 24, 111);
/* oklch */ color: oklch(33.6% 0.141 305.5);
Tailwind
colors: {
  custom: {
    50: '#805a99',
    500: '#49186f',
    950: '#000000',
  },
}
SCSS
$custom: #49186f;
$custom-light: #805a99;
$custom-dark: #000000;
JSON
{
  "hex": "#49186f",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 273.793,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.1415,
    "h": 305.5
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#49186F
secondary
#6BA53E
accent
#E74089
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #49186F

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

Preview Lab → · Contrast checker → · Palette generator →

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