#4D378F#4D378F

#4D378F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.1% C 0.139 H 290.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4D378F
RGBrgb(77, 55, 143)
HSLhsl(255, 44%, 39%)
HSVhsv(255, 62%, 56%)
CMYKcmyk(46.2%, 61.5%, 0%, 43.9%)
CIE-LABlab(30.14, 32.21, -45.63)
CIE-LCHlch(30.14, 55.86, 305.21°)
OKLaboklab(41.14% 0.0487 -0.1303)
OKLCHoklch(41.14% 0.139 290.5)
XYZxyz(9.3833, 6.2930, 26.7015)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D378F #798F37
analogous
#374D8F #4D378F #79378F
triadic
#4D378F #8F4D37 #378F4D
tetradic
#4D378F #8F374D #798F37 #378F79
square
#4D378F #8F374D #798F37 #378F79
split-complementary
#4D378F #8F7937 #4D8F37
monochromatic
#1D1537 #352663 #4D378F #664AB9 #8B76CA

Accessibility & contrast

On white

9.30
#4D378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D378F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D378F#FFFFFF#000000##FFFFFF
##4D378F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#394B5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d378f;
/* rgb */ color: rgb(77, 55, 143);
/* oklch */ color: oklch(41.1% 0.139 290.5);
Tailwind
colors: {
  custom: {
    50: '#846fb0',
    500: '#4d378f',
    950: '#000000',
  },
}
SCSS
$custom: #4d378f;
$custom-light: #846fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d378f",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 255,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.13907,
    "h": 290.5
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#4D378F
secondary
#A2B36F
accent
#D454B4
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D378F

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

Preview Lab → · Contrast checker → · Palette generator →

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