#4931B2#4931B2

#4931B2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.192 H 283.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4931B2
RGBrgb(73, 49, 178)
HSLhsl(251, 57%, 45%)
HSVhsv(251, 72%, 70%)
CMYKcmyk(59%, 72.5%, 0%, 30.2%)
CIE-LABlab(31.41, 45.64, -64.77)
CIE-LCHlch(31.41, 79.23, 305.17°)
OKLaboklab(42.87% 0.044 -0.1866)
OKLCHoklch(42.87% 0.192 283.3)
XYZxyz(11.8794, 6.8267, 42.8025)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4931B2 #9AB231
analogous
#315AB2 #4931B2 #8A31B2
triadic
#4931B2 #B24931 #31B249
tetradic
#4931B2 #B2315A #9AB231 #31B28A
square
#4931B2 #B2315A #9AB231 #31B28A
split-complementary
#4931B2 #B28A31 #5AB231
monochromatic
#221752 #352482 #4931B2 #6951CF #9281DC

Accessibility & contrast

On white

8.88
#4931B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4931B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4931B2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4931B2#FFFFFF#000000##FFFFFF
##4931B21.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#06546E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4931b2;
/* rgb */ color: rgb(73, 49, 178);
/* oklch */ color: oklch(42.9% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#886cca',
    500: '#4931b2',
    950: '#000000',
  },
}
SCSS
$custom: #4931b2;
$custom-light: #886cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4931b2",
  "rgb": {
    "r": 73,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 251.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.19171,
    "h": 283.3
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#4931B2
secondary
#B7C579
accent
#E048C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4931B2

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

Preview Lab → · Contrast checker → · Palette generator →

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