#49127F#49127F

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

Color values

HEX#49127F
RGBrgb(73, 18, 127)
HSLhsl(270, 75%, 28%)
HSVhsv(270, 86%, 50%)
CMYKcmyk(42.5%, 85.8%, 0%, 50.2%)
CIE-LABlab(21.51, 45.82, -49.71)
CIE-LCHlch(21.51, 67.61, 312.67°)
OKLaboklab(34.45% 0.0826 -0.1422)
OKLCHoklch(34.45% 0.164 300.1)
XYZxyz(6.7938, 3.3813, 20.3693)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49127F #487F12
analogous
#12127F #49127F #7F127E
triadic
#49127F #7F4912 #127F49
tetradic
#49127F #7F1212 #487F12 #127E7F
square
#49127F #7F1212 #487F12 #127E7F
split-complementary
#49127F #7E7F12 #127F12
monochromatic
#0F041B #2A0A49 #49127F #681AB5 #872BE1

Accessibility & contrast

On white

12.53
#49127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49127F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49127F#FFFFFF#000000##FFFFFF
##49127F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49127f;
/* rgb */ color: rgb(73, 18, 127);
/* oklch */ color: oklch(34.5% 0.164 300.1);
Tailwind
colors: {
  custom: {
    50: '#8259a5',
    500: '#49127f',
    950: '#000000',
  },
}
SCSS
$custom: #49127f;
$custom-light: #8259a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49127f",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 270.275,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34454,
    "c": 0.16447,
    "h": 300.1
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#49127F
secondary
#76B538
accent
#F23693
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #49127F

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

Preview Lab → · Contrast checker → · Palette generator →

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