#49257F#49257F

#49257F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.143 H 297.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#49257F
RGBrgb(73, 37, 127)
HSLhsl(264, 55%, 32%)
HSVhsv(264, 71%, 50%)
CMYKcmyk(42.5%, 70.9%, 0%, 50.2%)
CIE-LABlab(24.55, 37.16, -44.75)
CIE-LCHlch(24.55, 58.16, 309.70°)
OKLaboklab(36.59% 0.0653 -0.1278)
OKLCHoklch(36.59% 0.143 297)
XYZxyz(7.2390, 4.2718, 20.5177)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49257F #5B7F25
analogous
#252E7F #49257F #76257F
triadic
#49257F #7F4925 #257F49
tetradic
#49257F #7F252E #5B7F25 #257F76
square
#49257F #7F252E #5B7F25 #257F76
split-complementary
#49257F #7F7625 #2E7F25
monochromatic
#130920 #2E1750 #49257F #6433AE #8352CD

Accessibility & contrast

On white

11.32
#49257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49257F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49257F#FFFFFF#000000##FFFFFF
##49257F1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#3B3B4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #49257f;
/* rgb */ color: rgb(73, 37, 127);
/* oklch */ color: oklch(36.6% 0.143 297.0);
Tailwind
colors: {
  custom: {
    50: '#8162a5',
    500: '#49257f',
    950: '#000000',
  },
}
SCSS
$custom: #49257f;
$custom-light: #8162a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49257f",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 264,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36591,
    "c": 0.14348,
    "h": 297
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#49257F
secondary
#8AB14F
accent
#DE4AA3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49257F

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

Preview Lab → · Contrast checker → · Palette generator →

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