#49227B#49227B

#49227B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.143 H 299.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#49227B
RGBrgb(73, 34, 123)
HSLhsl(266, 57%, 31%)
HSVhsv(266, 72%, 48%)
CMYKcmyk(40.7%, 72.4%, 0%, 51.8%)
CIE-LABlab(23.64, 37.66, -43.70)
CIE-LCHlch(23.64, 57.68, 310.75°)
OKLaboklab(35.84% 0.0692 -0.1247)
OKLCHoklch(35.84% 0.143 299)
XYZxyz(6.8939, 3.9905, 19.1421)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49227B #547B22
analogous
#22277B #49227B #75227B
triadic
#49227B #7B4922 #227B49
tetradic
#49227B #7B2227 #547B22 #227B75
square
#49227B #7B2227 #547B22 #227B75
split-complementary
#49227B #7B7522 #277B22
monochromatic
#10071B #2D154B #49227B #652FAB #844ACD

Accessibility & contrast

On white

11.68
#49227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#49227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49227B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49227B#FFFFFF#000000##FFFFFF
##49227B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#3D384C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #49227b;
/* rgb */ color: rgb(73, 34, 123);
/* oklch */ color: oklch(35.8% 0.143 299.0);
Tailwind
colors: {
  custom: {
    50: '#8160a2',
    500: '#49227b',
    950: '#000000',
  },
}
SCSS
$custom: #49227b;
$custom-light: #8160a2;
$custom-dark: #000000;
JSON
{
  "hex": "#49227b",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 266.292,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.14262,
    "h": 299
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#49227B
secondary
#83AE4B
accent
#E0489D
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49227B

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

Preview Lab → · Contrast checker → · Palette generator →

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