#4D378D#4D378D

#4D378D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.136 H 290.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4D378D
RGBrgb(77, 55, 141)
HSLhsl(255, 44%, 38%)
HSVhsv(255, 61%, 55%)
CMYKcmyk(45.4%, 61%, 0%, 44.7%)
CIE-LABlab(29.99, 31.60, -44.64)
CIE-LCHlch(29.99, 54.69, 305.30°)
OKLaboklab(40.98% 0.0487 -0.1274)
OKLCHoklch(40.98% 0.136 290.9)
XYZxyz(9.2331, 6.2329, 25.9107)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D378D #778D37
analogous
#374C8D #4D378D #78378D
triadic
#4D378D #8D4D37 #378D4D
tetradic
#4D378D #8D374C #778D37 #378D78
square
#4D378D #8D374C #778D37 #378D78
split-complementary
#4D378D #8D7837 #4C8D37
monochromatic
#1D1535 #352661 #4D378D #6649B8 #8B75C9

Accessibility & contrast

On white

9.35
#4D378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D378D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D378D#FFFFFF#000000##FFFFFF
##4D378D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#3A4A5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d378d;
/* rgb */ color: rgb(77, 55, 141);
/* oklch */ color: oklch(41.0% 0.136 290.9);
Tailwind
colors: {
  custom: {
    50: '#846faf',
    500: '#4d378d',
    950: '#000000',
  },
}
SCSS
$custom: #4d378d;
$custom-light: #846faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d378d",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 255.349,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.13636,
    "h": 290.9
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#4D378D
secondary
#A1B26E
accent
#D454B3
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D378D

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

Preview Lab → · Contrast checker → · Palette generator →

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