#49187D#49187D

#49187D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.157 H 300.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#49187D
RGBrgb(73, 24, 125)
HSLhsl(269, 68%, 29%)
HSVhsv(269, 81%, 49%)
CMYKcmyk(41.6%, 80.8%, 0%, 51%)
CIE-LABlab(22.13, 42.98, -47.44)
CIE-LCHlch(22.13, 64.01, 312.18°)
OKLaboklab(34.82% 0.0786 -0.1356)
OKLCHoklch(34.82% 0.157 300.1)
XYZxyz(6.7750, 3.5503, 19.7264)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187D #4C7D18
analogous
#181A7D #49187D #7C187D
triadic
#49187D #7D4918 #187D49
tetradic
#49187D #7D181A #4C7D18 #187D7C
square
#49187D #7D181A #4C7D18 #187D7C
split-complementary
#49187D #7D7C18 #1A7D18
monochromatic
#0F051A #2B0E4A #49187D #6722B0 #8537D9

Accessibility & contrast

On white

12.28
#49187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#49187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49187D
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187D#FFFFFF#000000##FFFFFF
##49187D1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#3D334A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49187d;
/* rgb */ color: rgb(73, 24, 125);
/* oklch */ color: oklch(34.8% 0.157 300.1);
Tailwind
colors: {
  custom: {
    50: '#815ba4',
    500: '#49187d',
    950: '#000000',
  },
}
SCSS
$custom: #49187d;
$custom-light: #815ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#49187d",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 269.109,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.15672,
    "h": 300.1
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#49187D
secondary
#7AB23F
accent
#EB3D96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187D

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

Preview Lab → · Contrast checker → · Palette generator →

#49187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva