#49127E#49127E

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

Color values

HEX#49127E
RGBrgb(73, 18, 126)
HSLhsl(271, 75%, 28%)
HSVhsv(271, 86%, 49%)
CMYKcmyk(42.1%, 85.7%, 0%, 50.6%)
CIE-LABlab(21.41, 45.57, -49.23)
CIE-LCHlch(21.41, 67.09, 312.79°)
OKLaboklab(34.36% 0.0829 -0.1408)
OKLCHoklch(34.36% 0.163 300.5)
XYZxyz(6.7289, 3.3554, 20.0278)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49127E #477E12
analogous
#13127E #49127E #7E127D
triadic
#49127E #7E4912 #127E49
tetradic
#49127E #7E1312 #477E12 #127D7E
square
#49127E #7E1312 #477E12 #127D7E
split-complementary
#49127E #7D7E12 #127E13
monochromatic
#10041B #2A0A48 #49127E #681AB4 #872AE1

Accessibility & contrast

On white

12.57
#49127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#49127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49127E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49127E#FFFFFF#000000##FFFFFF
##49127E1.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)
#003381
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#3C314A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #49127e;
/* rgb */ color: rgb(73, 18, 126);
/* oklch */ color: oklch(34.4% 0.163 300.5);
Tailwind
colors: {
  custom: {
    50: '#8259a4',
    500: '#49127e',
    950: '#000000',
  },
}
SCSS
$custom: #49127e;
$custom-light: #8259a4;
$custom-dark: #000000;
JSON
{
  "hex": "#49127e",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 270.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34358,
    "c": 0.16344,
    "h": 300.5
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#49127E
secondary
#75B438
accent
#F23692
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49127E

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

Preview Lab → · Contrast checker → · Palette generator →

#49127E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva