#49126C#49126C

#49126C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.145 H 307.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#49126C
RGBrgb(73, 18, 108)
HSLhsl(277, 71%, 25%)
HSVhsv(277, 83%, 42%)
CMYKcmyk(32.4%, 83.3%, 0%, 57.6%)
CIE-LABlab(19.77, 41.19, -40.35)
CIE-LCHlch(19.77, 57.66, 315.59°)
OKLaboklab(32.71% 0.0886 -0.1147)
OKLCHoklch(32.71% 0.145 307.7)
XYZxyz(5.6702, 2.9319, 14.4517)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49126C #356C12
analogous
#1C126C #49126C #6C1262
triadic
#49126C #6C4912 #126C49
tetradic
#49126C #6C1C12 #356C12 #12626C
square
#49126C #6C1C12 #356C12 #12626C
split-complementary
#49126C #626C12 #126C1C
monochromatic
#12041A #260938 #49126C #6C1BA0 #9023D5

Accessibility & contrast

On white

13.24
#49126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#49126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49126C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49126C#FFFFFF#000000##FFFFFF
##49126C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#43293F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #49126c;
/* rgb */ color: rgb(73, 18, 108);
/* oklch */ color: oklch(32.7% 0.145 307.7);
Tailwind
colors: {
  custom: {
    50: '#805897',
    500: '#49126c',
    950: '#000000',
  },
}
SCSS
$custom: #49126c;
$custom-light: #805897;
$custom-dark: #000000;
JSON
{
  "hex": "#49126c",
  "rgb": {
    "r": 73,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 276.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.14499,
    "h": 307.7
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#49126C
secondary
#61A336
accent
#EE3A80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #49126C

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

Preview Lab → · Contrast checker → · Palette generator →

#49126C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva