#49187C#49187C

#49187C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.156 H 300.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#49187C
RGBrgb(73, 24, 124)
HSLhsl(269, 68%, 29%)
HSVhsv(269, 81%, 49%)
CMYKcmyk(41.1%, 80.6%, 0%, 51.4%)
CIE-LABlab(22.03, 42.72, -46.95)
CIE-LCHlch(22.03, 63.48, 312.30°)
OKLaboklab(34.73% 0.0789 -0.1342)
OKLCHoklch(34.73% 0.156 300.4)
XYZxyz(6.7115, 3.5249, 19.3917)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187C #4B7C18
analogous
#18197C #49187C #7B187C
triadic
#49187C #7C4918 #187C49
tetradic
#49187C #7C1819 #4B7C18 #187C7B
square
#49187C #7C1819 #4B7C18 #187C7B
split-complementary
#49187C #7C7B18 #197C18
monochromatic
#0F051A #2B0E49 #49187C #6722AF #8636D8

Accessibility & contrast

On white

12.32
#49187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49187C
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187C#FFFFFF#000000##FFFFFF
##49187C1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49187c;
/* rgb */ color: rgb(73, 24, 124);
/* oklch */ color: oklch(34.7% 0.156 300.4);
Tailwind
colors: {
  custom: {
    50: '#815ba3',
    500: '#49187c',
    950: '#000000',
  },
}
SCSS
$custom: #49187c;
$custom-light: #815ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#49187c",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 269.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.15564,
    "h": 300.4
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#49187C
secondary
#79B13F
accent
#EA3D96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187C

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

Preview Lab → · Contrast checker → · Palette generator →

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