#49158D#49158D

#49158D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.177 H 295.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#49158D
RGBrgb(73, 21, 141)
HSLhsl(266, 74%, 32%)
HSVhsv(266, 85%, 55%)
CMYKcmyk(48.2%, 85.1%, 0%, 44.7%)
CIE-LABlab(23.26, 48.28, -55.64)
CIE-LCHlch(23.26, 73.67, 310.95°)
OKLaboklab(36.08% 0.0754 -0.1596)
OKLCHoklch(36.08% 0.177 295.3)
XYZxyz(7.8222, 3.8757, 25.5301)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49158D #598D15
analogous
#151D8D #49158D #85158D
triadic
#49158D #8D4915 #158D49
tetradic
#49158D #8D151D #598D15 #158D85
square
#49158D #8D151D #598D15 #158D85
split-complementary
#49158D #8D8515 #1D8D15
monochromatic
#120522 #2D0D58 #49158D #651DC2 #833BE2

Accessibility & contrast

On white

11.83
#49158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#49158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49158D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49158D#FFFFFF#000000##FFFFFF
##49158D1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#353953
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #49158d;
/* rgb */ color: rgb(73, 21, 141);
/* oklch */ color: oklch(36.1% 0.177 295.3);
Tailwind
colors: {
  custom: {
    50: '#845baf',
    500: '#49158d',
    950: '#000000',
  },
}
SCSS
$custom: #49158d;
$custom-light: #845baf;
$custom-dark: #000000;
JSON
{
  "hex": "#49158d",
  "rgb": {
    "r": 73,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 266,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.17656,
    "h": 295.3
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#49158D
secondary
#88C13D
accent
#F137A0
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #49158D

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

Preview Lab → · Contrast checker → · Palette generator →

#49158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva