#49227E#49227E

#49227E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.146 H 298.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#49227E
RGBrgb(73, 34, 126)
HSLhsl(265, 58%, 31%)
HSVhsv(265, 73%, 49%)
CMYKcmyk(42.1%, 73%, 0%, 50.6%)
CIE-LABlab(23.89, 38.48, -45.19)
CIE-LCHlch(23.89, 59.35, 310.42°)
OKLaboklab(36.1% 0.0687 -0.1291)
OKLCHoklch(36.1% 0.146 298)
XYZxyz(7.0846, 4.0668, 20.1463)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49227E #577E22
analogous
#22297E #49227E #77227E
triadic
#49227E #7E4922 #227E49
tetradic
#49227E #7E2229 #577E22 #227E77
square
#49227E #7E2229 #577E22 #227E77
split-complementary
#49227E #7E7722 #297E22
monochromatic
#11081E #2D154E #49227E #652FAE #834CCF

Accessibility & contrast

On white

11.58
#49227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#49227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49227E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49227E#FFFFFF#000000##FFFFFF
##49227E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#3C394D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #49227e;
/* rgb */ color: rgb(73, 34, 126);
/* oklch */ color: oklch(36.1% 0.146 298.0);
Tailwind
colors: {
  custom: {
    50: '#8161a4',
    500: '#49227e',
    950: '#000000',
  },
}
SCSS
$custom: #49227e;
$custom-light: #8161a4;
$custom-dark: #000000;
JSON
{
  "hex": "#49227e",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 265.435,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.14621,
    "h": 298
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#49227E
secondary
#86B14B
accent
#E147A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49227E

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

Preview Lab → · Contrast checker → · Palette generator →

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