#49187B#49187B

#49187B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.155 H 300.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#49187B
RGBrgb(73, 24, 123)
HSLhsl(270, 67%, 29%)
HSVhsv(270, 80%, 48%)
CMYKcmyk(40.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(21.94, 42.47, -46.46)
CIE-LCHlch(21.94, 62.94, 312.43°)
OKLaboklab(34.64% 0.0792 -0.1327)
OKLCHoklch(34.64% 0.155 300.8)
XYZxyz(6.6486, 3.4997, 19.0603)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187B #4A7B18
analogous
#18197B #49187B #7B187B
triadic
#49187B #7B4918 #187B49
tetradic
#49187B #7B1819 #4A7B18 #187B7B
square
#49187B #7B1819 #4A7B18 #187B7B
split-complementary
#49187B #7B7B18 #197B18
monochromatic
#0F051A #2B0E48 #49187B #6722AE #8636D8

Accessibility & contrast

On white

12.35
#49187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#49187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49187B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187B#FFFFFF#000000##FFFFFF
##49187B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3E3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49187b;
/* rgb */ color: rgb(73, 24, 123);
/* oklch */ color: oklch(34.6% 0.155 300.8);
Tailwind
colors: {
  custom: {
    50: '#815ba2',
    500: '#49187b',
    950: '#000000',
  },
}
SCSS
$custom: #49187b;
$custom-light: #815ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#49187b",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 269.697,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3464,
    "c": 0.15455,
    "h": 300.8
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#49187B
secondary
#78B03F
accent
#EA3E95
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187B

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

Preview Lab → · Contrast checker → · Palette generator →

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