#4D3C8D#4D3C8D

#4D3C8D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 41.9% C 0.129 H 289.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4D3C8D
RGBrgb(77, 60, 141)
HSLhsl(253, 40%, 39%)
HSVhsv(253, 57%, 55%)
CMYKcmyk(45.4%, 57.4%, 0%, 44.7%)
CIE-LABlab(31.19, 28.50, -42.71)
CIE-LCHlch(31.19, 51.34, 303.71°)
OKLaboklab(41.86% 0.0426 -0.1217)
OKLCHoklch(41.86% 0.129 289.3)
XYZxyz(9.4828, 6.7322, 25.9939)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3C8D #7C8D3C
analogous
#3C538D #4D3C8D #763C8D
triadic
#4D3C8D #8D4D3C #3C8D4D
tetradic
#4D3C8D #8D3C53 #7C8D3C #3C8D76
square
#4D3C8D #8D3C53 #7C8D3C #3C8D76
split-complementary
#4D3C8D #8D763C #538D3C
monochromatic
#1E1737 #362A62 #4D3C8D #6651B5 #8C7CC7

Accessibility & contrast

On white

8.95
#4D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4D3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3C8D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3C8D#FFFFFF#000000##FFFFFF
##4D3C8D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#3A4E5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d3c8d;
/* rgb */ color: rgb(77, 60, 141);
/* oklch */ color: oklch(41.9% 0.129 289.3);
Tailwind
colors: {
  custom: {
    50: '#8372af',
    500: '#4d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4d3c8d;
$custom-light: #8372af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3c8d",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 252.593,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.1289,
    "h": 289.3
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#4D3C8D
secondary
#A4B174
accent
#D058B7
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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