#49227C#49227C

#49227C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.144 H 298.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#49227C
RGBrgb(73, 34, 124)
HSLhsl(266, 57%, 31%)
HSVhsv(266, 73%, 49%)
CMYKcmyk(41.1%, 72.6%, 0%, 51.4%)
CIE-LABlab(23.72, 37.93, -44.19)
CIE-LCHlch(23.72, 58.24, 310.64°)
OKLaboklab(35.92% 0.0691 -0.1262)
OKLCHoklch(35.92% 0.144 298.7)
XYZxyz(6.9568, 4.0157, 19.4735)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49227C #557C22
analogous
#22287C #49227C #76227C
triadic
#49227C #7C4922 #227C49
tetradic
#49227C #7C2228 #557C22 #227C76
square
#49227C #7C2228 #557C22 #227C76
split-complementary
#49227C #7C7622 #287C22
monochromatic
#10081C #2D154C #49227C #652FAC #834BCE

Accessibility & contrast

On white

11.65
#49227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #49227C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49227C#FFFFFF#000000##FFFFFF
##49227C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #49227c;
/* rgb */ color: rgb(73, 34, 124);
/* oklch */ color: oklch(35.9% 0.144 298.7);
Tailwind
colors: {
  custom: {
    50: '#8160a3',
    500: '#49227c',
    950: '#000000',
  },
}
SCSS
$custom: #49227c;
$custom-light: #8160a3;
$custom-dark: #000000;
JSON
{
  "hex": "#49227c",
  "rgb": {
    "r": 73,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 266,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.14382,
    "h": 298.7
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#49227C
secondary
#84AF4B
accent
#E0489E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #49227C

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

Preview Lab → · Contrast checker → · Palette generator →

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