#4D379B#4D379B

#4D379B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.155 H 288.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4D379B
RGBrgb(77, 55, 155)
HSLhsl(253, 48%, 41%)
HSVhsv(253, 65%, 61%)
CMYKcmyk(50.3%, 64.5%, 0%, 39.2%)
CIE-LABlab(31.06, 35.86, -51.49)
CIE-LCHlch(31.06, 62.74, 304.86°)
OKLaboklab(42.09% 0.0478 -0.1475)
OKLCHoklch(42.09% 0.155 288)
XYZxyz(10.3414, 6.6763, 31.7477)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D379B #859B37
analogous
#37539B #4D379B #7F379B
triadic
#4D379B #9B4D37 #379B4D
tetradic
#4D379B #9B3753 #859B37 #379B7F
square
#4D379B #9B3753 #859B37 #379B7F
split-complementary
#4D379B #9B7F37 #539B37
monochromatic
#201741 #37276E #4D379B #684FC0 #8F7CD0

Accessibility & contrast

On white

8.99
#4D379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4D379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D379B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D379B#FFFFFF#000000##FFFFFF
##4D379B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#324F64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d379b;
/* rgb */ color: rgb(77, 55, 155);
/* oklch */ color: oklch(42.1% 0.155 288.0);
Tailwind
colors: {
  custom: {
    50: '#866fb9',
    500: '#4d379b',
    950: '#000000',
  },
}
SCSS
$custom: #4d379b;
$custom-light: #866fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d379b",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 253.2,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.15504,
    "h": 288
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#4D379B
secondary
#AABA74
accent
#D751BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D379B

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

Preview Lab → · Contrast checker → · Palette generator →

#4D379B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva