#49227F#49227F

#49227F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.147 H 297.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#49227F
RGBrgb(73, 34, 127)
HSLhsl(265, 58%, 32%)
HSVhsv(265, 73%, 50%)
CMYKcmyk(42.5%, 73.2%, 0%, 50.2%)
CIE-LABlab(23.98, 38.76, -45.68)
CIE-LCHlch(23.98, 59.91, 310.31°)
OKLaboklab(36.18% 0.0685 -0.1305)
OKLCHoklch(36.18% 0.147 297.7)
XYZxyz(7.1495, 4.0927, 20.4879)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49227F #587F22
analogous
#222A7F #49227F #78227F
triadic
#49227F #7F4922 #227F49
tetradic
#49227F #7F222A #587F22 #227F78
square
#49227F #7F222A #587F22 #227F78
split-complementary
#49227F #7F7822 #2A7F22
monochromatic
#12081E #2D154F #49227F #652FAF #834CCF

Accessibility & contrast

On white

11.55
#49227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#49227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49227F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49227F#FFFFFF#000000##FFFFFF
##49227F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#3C394E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #49227f;
/* rgb */ color: rgb(73, 34, 127);
/* oklch */ color: oklch(36.2% 0.147 297.7);
Tailwind
colors: {
  custom: {
    50: '#8161a5',
    500: '#49227f',
    950: '#000000',
  },
}
SCSS
$custom: #49227f;
$custom-light: #8161a5;
$custom-dark: #000000;
JSON
{
  "hex": "#49227f",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 265.161,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.1474,
    "h": 297.7
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#49227F
secondary
#87B24B
accent
#E147A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49227F

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

Preview Lab → · Contrast checker → · Palette generator →

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