#49188F#49188F

#49188F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.176 H 294.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#49188F
RGBrgb(73, 24, 143)
HSLhsl(265, 71%, 33%)
HSVhsv(265, 83%, 56%)
CMYKcmyk(49%, 83.2%, 0%, 43.9%)
CIE-LABlab(23.84, 47.66, -55.92)
CIE-LCHlch(23.84, 73.47, 310.44°)
OKLaboklab(36.54% 0.0727 -0.1605)
OKLCHoklch(36.54% 0.176 294.4)
XYZxyz(8.0309, 4.0527, 26.3404)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49188F #5E8F18
analogous
#18228F #49188F #84188F
triadic
#49188F #8F4918 #188F49
tetradic
#49188F #8F1822 #5E8F18 #188F84
square
#49188F #8F1822 #5E8F18 #188F84
split-complementary
#49188F #8F8418 #228F18
monochromatic
#130626 #2E0F5B #49188F #6421C3 #8342DF

Accessibility & contrast

On white

11.60
#49188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#49188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49188F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49188F#FFFFFF#000000##FFFFFF
##49188F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#343B55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #49188f;
/* rgb */ color: rgb(73, 24, 143);
/* oklch */ color: oklch(36.5% 0.176 294.4);
Tailwind
colors: {
  custom: {
    50: '#845cb1',
    500: '#49188f',
    950: '#000000',
  },
}
SCSS
$custom: #49188f;
$custom-light: #845cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#49188f",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 264.706,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.17617,
    "h": 294.4
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#49188F
secondary
#8CC043
accent
#EE3AA4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #49188F

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

Preview Lab → · Contrast checker → · Palette generator →

#49188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva