#4D389C#4D389C

#4D389C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.155 H 287.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4D389C
RGBrgb(77, 56, 156)
HSLhsl(253, 47%, 42%)
HSVhsv(253, 64%, 61%)
CMYKcmyk(50.6%, 64.1%, 0%, 38.8%)
CIE-LABlab(31.36, 35.57, -51.60)
CIE-LCHlch(31.36, 62.67, 304.58°)
OKLaboklab(42.34% 0.0466 -0.1478)
OKLCHoklch(42.34% 0.155 287.5)
XYZxyz(10.4737, 6.8059, 32.2078)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D389C #879C38
analogous
#38559C #4D389C #7F389C
triadic
#4D389C #9C4D38 #389C4D
tetradic
#4D389C #9C3855 #879C38 #389C7F
square
#4D389C #9C3855 #879C38 #389C7F
split-complementary
#4D389C #9C7F38 #559C38
monochromatic
#211842 #37286F #4D389C #6851C0 #8F7ED1

Accessibility & contrast

On white

8.89
#4D389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4D389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D389C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D389C#FFFFFF#000000##FFFFFF
##4D389C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#315064
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d389c;
/* rgb */ color: rgb(77, 56, 156);
/* oklch */ color: oklch(42.3% 0.155 287.5);
Tailwind
colors: {
  custom: {
    50: '#8670ba',
    500: '#4d389c',
    950: '#000000',
  },
}
SCSS
$custom: #4d389c;
$custom-light: #8670ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d389c",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 252.6,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.15501,
    "h": 287.5
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#4D389C
secondary
#ACBA76
accent
#D751BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D389C

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

Preview Lab → · Contrast checker → · Palette generator →

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