#4D389F#4D389F

#4D389F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.159 H 287.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4D389F
RGBrgb(77, 56, 159)
HSLhsl(252, 48%, 42%)
HSVhsv(252, 65%, 62%)
CMYKcmyk(51.6%, 64.8%, 0%, 37.6%)
CIE-LABlab(31.60, 36.49, -53.04)
CIE-LCHlch(31.60, 64.38, 304.53°)
OKLaboklab(42.59% 0.0464 -0.152)
OKLCHoklch(42.59% 0.159 287)
XYZxyz(10.7309, 6.9088, 33.5623)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D389F #8A9F38
analogous
#38579F #4D389F #81389F
triadic
#4D389F #9F4D38 #389F4D
tetradic
#4D389F #9F3857 #8A9F38 #389F81
square
#4D389F #9F3857 #8A9F38 #389F81
split-complementary
#4D389F #9F8138 #579F38
monochromatic
#211844 #372872 #4D389F #6952C2 #907FD2

Accessibility & contrast

On white

8.82
#4D389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4D389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D389F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D389F#FFFFFF#000000##FFFFFF
##4D389F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#2F5166
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d389f;
/* rgb */ color: rgb(77, 56, 159);
/* oklch */ color: oklch(42.6% 0.159 287.0);
Tailwind
colors: {
  custom: {
    50: '#8670bc',
    500: '#4d389f',
    950: '#000000',
  },
}
SCSS
$custom: #4d389f;
$custom-light: #8670bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d389f",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 252.233,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.15895,
    "h": 287
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#4D389F
secondary
#AEBB77
accent
#D750BC
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D389F

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

Preview Lab → · Contrast checker → · Palette generator →

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