#49187A#49187A

#49187A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.153 H 301.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#49187A
RGBrgb(73, 24, 122)
HSLhsl(270, 67%, 29%)
HSVhsv(270, 80%, 48%)
CMYKcmyk(40.2%, 80.3%, 0%, 52.2%)
CIE-LABlab(21.85, 42.21, -45.97)
CIE-LCHlch(21.85, 62.41, 312.56°)
OKLaboklab(34.55% 0.0794 -0.1313)
OKLCHoklch(34.55% 0.153 301.2)
XYZxyz(6.5863, 3.4748, 18.7323)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187A #497A18
analogous
#18187A #49187A #7A187A
triadic
#49187A #7A4918 #187A49
tetradic
#49187A #7A1818 #497A18 #187A7A
square
#49187A #7A1818 #497A18 #187A7A
split-complementary
#49187A #7A7A18 #187A18
monochromatic
#0F051A #2A0E47 #49187A #6822AD #8635D7

Accessibility & contrast

On white

12.39
#49187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49187A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187A#FFFFFF#000000##FFFFFF
##49187A1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3E3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49187a;
/* rgb */ color: rgb(73, 24, 122);
/* oklch */ color: oklch(34.5% 0.153 301.2);
Tailwind
colors: {
  custom: {
    50: '#815ba1',
    500: '#49187a',
    950: '#000000',
  },
}
SCSS
$custom: #49187a;
$custom-light: #815ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#49187a",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 270,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34549,
    "c": 0.15346,
    "h": 301.2
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#49187A
secondary
#77AF3F
accent
#EA3E94
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187A

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

Preview Lab → · Contrast checker → · Palette generator →

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