#4D3C8A#4D3C8A

#4D3C8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.6% C 0.125 H 289.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4D3C8A
RGBrgb(77, 60, 138)
HSLhsl(253, 39%, 39%)
HSVhsv(253, 57%, 54%)
CMYKcmyk(44.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(30.98, 27.58, -41.19)
CIE-LCHlch(30.98, 49.57, 303.80°)
OKLaboklab(41.64% 0.0425 -0.1172)
OKLCHoklch(41.64% 0.125 289.9)
XYZxyz(9.2626, 6.6442, 24.8342)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3C8A #798A3C
analogous
#3C528A #4D3C8A #743C8A
triadic
#4D3C8A #8A4D3C #3C8A4D
tetradic
#4D3C8A #8A3C52 #798A3C #3C8A74
square
#4D3C8A #8A3C52 #798A3C #3C8A74
split-complementary
#4D3C8A #8A743C #528A3C
monochromatic
#1D1735 #35295F #4D3C8A #6650B3 #8B7BC6

Accessibility & contrast

On white

9.02
#4D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3C8A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3C8A#FFFFFF#000000##FFFFFF
##4D3C8A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8D
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#3B4D5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d3c8a;
/* rgb */ color: rgb(77, 60, 138);
/* oklch */ color: oklch(41.6% 0.125 289.9);
Tailwind
colors: {
  custom: {
    50: '#8372ad',
    500: '#4d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d3c8a;
$custom-light: #8372ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3c8a",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 253.077,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.12468,
    "h": 289.9
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#4D3C8A
secondary
#A2AF73
accent
#CF59B5
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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