#49257E#49257E

#49257E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.142 H 297.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#49257E
RGBrgb(73, 37, 126)
HSLhsl(264, 55%, 32%)
HSVhsv(264, 71%, 49%)
CMYKcmyk(42.1%, 70.6%, 0%, 50.6%)
CIE-LABlab(24.47, 36.88, -44.25)
CIE-LCHlch(24.47, 57.60, 309.81°)
OKLaboklab(36.51% 0.0654 -0.1263)
OKLCHoklch(36.51% 0.142 297.4)
XYZxyz(7.1741, 4.2458, 20.1762)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49257E #5A7E25
analogous
#252D7E #49257E #76257E
triadic
#49257E #7E4925 #257E49
tetradic
#49257E #7E252D #5A7E25 #257E76
square
#49257E #7E252D #5A7E25 #257E76
split-complementary
#49257E #7E7625 #2D7E25
monochromatic
#12091F #2E174F #49257E #6433AD #8351CC

Accessibility & contrast

On white

11.36
#49257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#49257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49257E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49257E#FFFFFF#000000##FFFFFF
##49257E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#3C3A4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #49257e;
/* rgb */ color: rgb(73, 37, 126);
/* oklch */ color: oklch(36.5% 0.142 297.4);
Tailwind
colors: {
  custom: {
    50: '#8162a4',
    500: '#49257e',
    950: '#000000',
  },
}
SCSS
$custom: #49257e;
$custom-light: #8162a4;
$custom-dark: #000000;
JSON
{
  "hex": "#49257e",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 264.27,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.14226,
    "h": 297.4
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#49257E
secondary
#89B04F
accent
#DE4AA2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49257E

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

Preview Lab → · Contrast checker → · Palette generator →

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