#4931AC#4931AC

#4931AC is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.184 H 284.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4931AC
RGBrgb(73, 49, 172)
HSLhsl(252, 56%, 43%)
HSVhsv(252, 72%, 67%)
CMYKcmyk(57.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(30.86, 43.82, -62.09)
CIE-LCHlch(30.86, 75.99, 305.21°)
OKLaboklab(42.3% 0.0453 -0.1787)
OKLCHoklch(42.3% 0.184 284.2)
XYZxyz(11.2901, 6.5910, 39.6990)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4931AC #94AC31
analogous
#3157AC #4931AC #8631AC
triadic
#4931AC #AC4931 #31AC49
tetradic
#4931AC #AC3157 #94AC31 #31AC86
square
#4931AC #AC3157 #94AC31 #31AC86
split-complementary
#4931AC #AC8631 #57AC31
monochromatic
#21164D #35237C #4931AC #664ECC #8F7DDA

Accessibility & contrast

On white

9.06
#4931AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4931AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4931AC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4931AC#FFFFFF#000000##FFFFFF
##4931AC1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#15526B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4931ac;
/* rgb */ color: rgb(73, 49, 172);
/* oklch */ color: oklch(42.3% 0.184 284.2);
Tailwind
colors: {
  custom: {
    50: '#876bc6',
    500: '#4931ac',
    950: '#000000',
  },
}
SCSS
$custom: #4931ac;
$custom-light: #876bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4931ac",
  "rgb": {
    "r": 73,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 251.707,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.18439,
    "h": 284.2
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4931AC

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

Preview Lab → · Contrast checker → · Palette generator →

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