#49229F#49229F

#49229F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.185 H 289.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#49229F
RGBrgb(73, 34, 159)
HSLhsl(259, 65%, 38%)
HSVhsv(259, 79%, 62%)
CMYKcmyk(54.1%, 78.6%, 0%, 37.6%)
CIE-LABlab(26.91, 47.68, -60.71)
CIE-LCHlch(26.91, 77.20, 308.14°)
OKLaboklab(39.15% 0.0602 -0.1746)
OKLCHoklch(39.15% 0.185 289)
XYZxyz(9.5759, 5.0633, 33.2669)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49229F #789F22
analogous
#22399F #49229F #87229F
triadic
#49229F #9F4922 #229F49
tetradic
#49229F #9F2239 #789F22 #229F87
square
#49229F #9F2239 #789F22 #229F87
split-complementary
#49229F #9F8722 #399F22
monochromatic
#1B0C3A #32176D #49229F #602DD1 #865FDD

Accessibility & contrast

On white

10.43
#49229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#49229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #49229F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49229F#FFFFFF#000000##FFFFFF
##49229F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#274660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #49229f;
/* rgb */ color: rgb(73, 34, 159);
/* oklch */ color: oklch(39.2% 0.185 289.0);
Tailwind
colors: {
  custom: {
    50: '#8662bc',
    500: '#49229f',
    950: '#000000',
  },
}
SCSS
$custom: #49229f;
$custom-light: #8662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#49229f",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 258.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.1847,
    "h": 289
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#49229F
secondary
#A2C15B
accent
#E840B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #49229F

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

Preview Lab → · Contrast checker → · Palette generator →

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