#4931AD#4931AD

#4931AD is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.186 H 284.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4931AD
RGBrgb(73, 49, 173)
HSLhsl(252, 56%, 44%)
HSVhsv(252, 72%, 68%)
CMYKcmyk(57.8%, 71.7%, 0%, 32.2%)
CIE-LABlab(30.95, 44.12, -62.54)
CIE-LCHlch(30.95, 76.54, 305.20°)
OKLaboklab(42.4% 0.0451 -0.1801)
OKLCHoklch(42.4% 0.186 284)
XYZxyz(11.3865, 6.6295, 40.2067)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4931AD #95AD31
analogous
#3157AD #4931AD #8731AD
triadic
#4931AD #AD4931 #31AD49
tetradic
#4931AD #AD3157 #95AD31 #31AD87
square
#4931AD #AD3157 #95AD31 #31AD87
split-complementary
#4931AD #AD8731 #57AD31
monochromatic
#21164E #35237D #4931AD #674ECD #907EDA

Accessibility & contrast

On white

9.03
#4931AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4931AD
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4931AD#FFFFFF#000000##FFFFFF
##4931AD1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#13526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4931ad;
/* rgb */ color: rgb(73, 49, 173);
/* oklch */ color: oklch(42.4% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#876bc7',
    500: '#4931ad',
    950: '#000000',
  },
}
SCSS
$custom: #4931ad;
$custom-light: #876bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4931ad",
  "rgb": {
    "r": 73,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 251.613,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.18561,
    "h": 284
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#4931AD
secondary
#B4C377
accent
#DF49C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4931AD

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

Preview Lab → · Contrast checker → · Palette generator →

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