#4931AF#4931AF

#4931AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.188 H 283.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4931AF
RGBrgb(73, 49, 175)
HSLhsl(251, 56%, 44%)
HSVhsv(251, 72%, 69%)
CMYKcmyk(58.3%, 72%, 0%, 31.4%)
CIE-LABlab(31.13, 44.73, -63.44)
CIE-LCHlch(31.13, 77.62, 305.19°)
OKLaboklab(42.58% 0.0446 -0.1827)
OKLCHoklch(42.58% 0.188 283.7)
XYZxyz(11.5815, 6.7075, 41.2335)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4931AF #97AF31
analogous
#3158AF #4931AF #8831AF
triadic
#4931AF #AF4931 #31AF49
tetradic
#4931AF #AF3158 #97AF31 #31AF88
square
#4931AF #AF3158 #97AF31 #31AF88
split-complementary
#4931AF #AF8831 #58AF31
monochromatic
#21164F #35247F #4931AF #674FCE #917FDB

Accessibility & contrast

On white

8.97
#4931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4931AF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4931AF#FFFFFF#000000##FFFFFF
##4931AF1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#0F536D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4931af;
/* rgb */ color: rgb(73, 49, 175);
/* oklch */ color: oklch(42.6% 0.188 283.7);
Tailwind
colors: {
  custom: {
    50: '#876cc8',
    500: '#4931af',
    950: '#000000',
  },
}
SCSS
$custom: #4931af;
$custom-light: #876cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4931af",
  "rgb": {
    "r": 73,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 251.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.18806,
    "h": 283.7
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#4931AF
secondary
#B6C478
accent
#E048C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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