#49187E#49187E

#49187E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.158 H 299.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#49187E
RGBrgb(73, 24, 126)
HSLhsl(269, 68%, 29%)
HSVhsv(269, 81%, 49%)
CMYKcmyk(42.1%, 81%, 0%, 50.6%)
CIE-LABlab(22.22, 43.24, -47.92)
CIE-LCHlch(22.22, 64.54, 312.06°)
OKLaboklab(34.92% 0.0783 -0.137)
OKLCHoklch(34.92% 0.158 299.7)
XYZxyz(6.8392, 3.5760, 20.0645)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49187E #4D7E18
analogous
#181A7E #49187E #7C187E
triadic
#49187E #7E4918 #187E49
tetradic
#49187E #7E181A #4D7E18 #187E7C
square
#49187E #7E181A #4D7E18 #187E7C
split-complementary
#49187E #7E7C18 #1A7E18
monochromatic
#0F051A #2B0E4B #49187E #6722B1 #8537D9

Accessibility & contrast

On white

12.24
#49187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#49187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49187E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49187E#FFFFFF#000000##FFFFFF
##49187E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#3C344B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #49187e;
/* rgb */ color: rgb(73, 24, 126);
/* oklch */ color: oklch(34.9% 0.158 299.7);
Tailwind
colors: {
  custom: {
    50: '#825ba4',
    500: '#49187e',
    950: '#000000',
  },
}
SCSS
$custom: #49187e;
$custom-light: #825ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#49187e",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 268.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34915,
    "c": 0.15781,
    "h": 299.7
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#49187E
secondary
#7BB23F
accent
#EB3D97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49187E

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

Preview Lab → · Contrast checker → · Palette generator →

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