#49256B#49256B

#49256B is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.0% C 0.119 H 304.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#49256B
RGBrgb(73, 37, 107)
HSLhsl(271, 49%, 28%)
HSVhsv(271, 65%, 42%)
CMYKcmyk(31.8%, 65.4%, 0%, 58%)
CIE-LABlab(23.00, 31.66, -34.47)
CIE-LCHlch(23.00, 46.80, 312.57°)
OKLaboklab(34.99% 0.0675 -0.0976)
OKLCHoklch(34.99% 0.119 304.7)
XYZxyz(6.0625, 3.8012, 14.3214)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49256B #476B25
analogous
#26256B #49256B #6B256A
triadic
#49256B #6B4925 #256B49
tetradic
#49256B #6B2625 #476B25 #256A6B
square
#49256B #6B2625 #476B25 #256A6B
split-complementary
#49256B #6A6B25 #256B26
monochromatic
#100817 #2A153E #49256B #683598 #874AC0

Accessibility & contrast

On white

11.93
#49256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#49256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49256B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49256B#FFFFFF#000000##FFFFFF
##49256B1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#433344
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #49256b;
/* rgb */ color: rgb(73, 37, 107);
/* oklch */ color: oklch(35.0% 0.119 304.7);
Tailwind
colors: {
  custom: {
    50: '#7f6296',
    500: '#49256b',
    950: '#000000',
  },
}
SCSS
$custom: #49256b;
$custom-light: #7f6296;
$custom-dark: #000000;
JSON
{
  "hex": "#49256b",
  "rgb": {
    "r": 73,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 270.857,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.11863,
    "h": 304.7
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#49256B
secondary
#759E4E
accent
#D85092
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #49256B

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

Preview Lab → · Contrast checker → · Palette generator →

#49256B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva