#49117F#49117F

#49117F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.165 H 300.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#49117F
RGBrgb(73, 17, 127)
HSLhsl(271, 76%, 28%)
HSVhsv(271, 87%, 50%)
CMYKcmyk(42.5%, 86.6%, 0%, 50.2%)
CIE-LABlab(21.39, 46.17, -49.90)
CIE-LCHlch(21.39, 67.98, 312.77°)
OKLaboklab(34.37% 0.0833 -0.1428)
OKLCHoklch(34.37% 0.165 300.2)
XYZxyz(6.7779, 3.3496, 20.3640)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49117F #477F11
analogous
#12117F #49117F #7F117E
triadic
#49117F #7F4911 #117F49
tetradic
#49117F #7F1211 #477F11 #117E7F
square
#49117F #7F1211 #477F11 #117E7F
split-complementary
#49117F #7E7F11 #117F12
monochromatic
#10041B #2A0A49 #49117F #6818B5 #8728E2

Accessibility & contrast

On white

12.57
#49117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#49117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49117F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49117F#FFFFFF#000000##FFFFFF
##49117F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#3C324A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #49117f;
/* rgb */ color: rgb(73, 17, 127);
/* oklch */ color: oklch(34.4% 0.165 300.2);
Tailwind
colors: {
  custom: {
    50: '#8258a5',
    500: '#49117f',
    950: '#000000',
  },
}
SCSS
$custom: #49117f;
$custom-light: #8258a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49117f",
  "rgb": {
    "r": 73,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 270.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.16529,
    "h": 300.2
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#49117F
secondary
#75B537
accent
#F33592
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49117F

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

Preview Lab → · Contrast checker → · Palette generator →

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