#49226F#49226F

#49226F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.128 H 303.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#49226F
RGBrgb(73, 34, 111)
HSLhsl(270, 53%, 28%)
HSVhsv(270, 69%, 44%)
CMYKcmyk(34.2%, 69.4%, 0%, 56.5%)
CIE-LABlab(22.68, 34.41, -37.57)
CIE-LCHlch(22.68, 50.95, 312.49°)
OKLaboklab(34.85% 0.071 -0.1067)
OKLCHoklch(34.85% 0.128 303.7)
XYZxyz(6.1883, 3.7082, 15.4256)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49226F #486F22
analogous
#23226F #49226F #6F226E
triadic
#49226F #6F4922 #226F49
tetradic
#49226F #6F2322 #486F22 #226E6F
square
#49226F #6F2322 #486F22 #226E6F
split-complementary
#49226F #6E6F22 #226F23
monochromatic
#0F0717 #2A1440 #49226F #68309E #8745C6

Accessibility & contrast

On white

12.06
#49226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#49226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49226F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49226F#FFFFFF#000000##FFFFFF
##49226F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#07366D
Tritanopia (blue-blind)
#423345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #49226f;
/* rgb */ color: rgb(73, 34, 111);
/* oklch */ color: oklch(34.8% 0.128 303.7);
Tailwind
colors: {
  custom: {
    50: '#7f6099',
    500: '#49226f',
    950: '#000000',
  },
}
SCSS
$custom: #49226f;
$custom-light: #7f6099;
$custom-dark: #000000;
JSON
{
  "hex": "#49226f",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 270.39,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.12814,
    "h": 303.7
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#49226F
secondary
#76A24A
accent
#DD4B93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #49226F

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

Preview Lab → · Contrast checker → · Palette generator →

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