#49137F#49137F

#49137F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.164 H 300.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#49137F
RGBrgb(73, 19, 127)
HSLhsl(270, 74%, 29%)
HSVhsv(270, 85%, 50%)
CMYKcmyk(42.5%, 85%, 0%, 50.2%)
CIE-LABlab(21.63, 45.46, -49.51)
CIE-LCHlch(21.63, 67.22, 312.56°)
OKLaboklab(34.54% 0.0819 -0.1416)
OKLCHoklch(34.54% 0.164 300)
XYZxyz(6.8103, 3.4144, 20.3748)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49137F #497F13
analogous
#13137F #49137F #7F137F
triadic
#49137F #7F4913 #137F49
tetradic
#49137F #7F1313 #497F13 #137F7F
square
#49137F #7F1313 #497F13 #137F7F
split-complementary
#49137F #7F7F13 #137F13
monochromatic
#0F041B #2A0B4A #49137F #681BB4 #862DE0

Accessibility & contrast

On white

12.48
#49137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#49137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49137F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49137F#FFFFFF#000000##FFFFFF
##49137F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#3C324A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #49137f;
/* rgb */ color: rgb(73, 19, 127);
/* oklch */ color: oklch(34.5% 0.164 300.0);
Tailwind
colors: {
  custom: {
    50: '#8259a5',
    500: '#49137f',
    950: '#000000',
  },
}
SCSS
$custom: #49137f;
$custom-light: #8259a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49137f",
  "rgb": {
    "r": 73,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 270,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.16361,
    "h": 300
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#49137F
secondary
#77B439
accent
#F13794
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49137F

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

Preview Lab → · Contrast checker → · Palette generator →

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