#49177F#49177F

#49177F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 299.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#49177F
RGBrgb(73, 23, 127)
HSLhsl(269, 69%, 29%)
HSVhsv(269, 82%, 50%)
CMYKcmyk(42.5%, 81.9%, 0%, 50.2%)
CIE-LABlab(22.17, 43.91, -48.64)
CIE-LCHlch(22.17, 65.53, 312.08°)
OKLaboklab(34.91% 0.0788 -0.1391)
OKLCHoklch(34.91% 0.16 299.5)
XYZxyz(6.8838, 3.5615, 20.3993)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49177F #4D7F17
analogous
#17197F #49177F #7D177F
triadic
#49177F #7F4917 #177F49
tetradic
#49177F #7F1719 #4D7F17 #177F7D
square
#49177F #7F1719 #4D7F17 #177F7D
split-complementary
#49177F #7F7D17 #197F17
monochromatic
#0F051A #2B0E4B #49177F #6720B3 #8536DB

Accessibility & contrast

On white

12.26
#49177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#49177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49177F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49177F#FFFFFF#000000##FFFFFF
##49177F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49177f;
/* rgb */ color: rgb(73, 23, 127);
/* oklch */ color: oklch(34.9% 0.160 299.5);
Tailwind
colors: {
  custom: {
    50: '#825ba5',
    500: '#49177f',
    950: '#000000',
  },
}
SCSS
$custom: #49177f;
$custom-light: #825ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#49177f",
  "rgb": {
    "r": 73,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 268.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34908,
    "c": 0.1599,
    "h": 299.5
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#49177F
secondary
#7BB43E
accent
#EC3C97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49177F

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

Preview Lab → · Contrast checker → · Palette generator →

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