#4931AE#4931AE

#4931AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.187 H 283.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4931AE
RGBrgb(73, 49, 174)
HSLhsl(252, 56%, 44%)
HSVhsv(252, 72%, 68%)
CMYKcmyk(58%, 71.8%, 0%, 31.8%)
CIE-LABlab(31.04, 44.42, -62.99)
CIE-LCHlch(31.04, 77.08, 305.19°)
OKLaboklab(42.49% 0.0449 -0.1814)
OKLCHoklch(42.49% 0.187 283.9)
XYZxyz(11.4836, 6.6684, 40.7182)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4931AE #96AE31
analogous
#3157AE #4931AE #8731AE
triadic
#4931AE #AE4931 #31AE49
tetradic
#4931AE #AE3157 #96AE31 #31AE87
square
#4931AE #AE3157 #96AE31 #31AE87
split-complementary
#4931AE #AE8731 #57AE31
monochromatic
#21164E #35247E #4931AE #674FCD #907FDB

Accessibility & contrast

On white

9.00
#4931AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4931AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4931AE
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4931AE#FFFFFF#000000##FFFFFF
##4931AE1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#11536C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4931ae;
/* rgb */ color: rgb(73, 49, 174);
/* oklch */ color: oklch(42.5% 0.187 283.9);
Tailwind
colors: {
  custom: {
    50: '#876cc7',
    500: '#4931ae',
    950: '#000000',
  },
}
SCSS
$custom: #4931ae;
$custom-light: #876cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4931ae",
  "rgb": {
    "r": 73,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 251.52,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.18684,
    "h": 283.9
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#4931AE
secondary
#B5C477
accent
#DF48C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4931AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4931AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva