#4D349C#4D349C

#4D349C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.160 H 288.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4D349C
RGBrgb(77, 52, 156)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 67%, 61%)
CMYKcmyk(50.6%, 66.7%, 0%, 38.8%)
CIE-LABlab(30.48, 37.93, -53.03)
CIE-LCHlch(30.48, 65.20, 305.58°)
OKLaboklab(41.7% 0.0509 -0.152)
OKLCHoklch(41.7% 0.16 288.5)
XYZxyz(10.2876, 6.4336, 32.1458)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D349C #839C34
analogous
#344F9C #4D349C #81349C
triadic
#4D349C #9C4D34 #349C4D
tetradic
#4D349C #9C344F #839C34 #349C81
square
#4D349C #9C344F #839C34 #349C81
split-complementary
#4D349C #9C8134 #4F9C34
monochromatic
#201540 #36256E #4D349C #674AC3 #8E78D2

Accessibility & contrast

On white

9.18
#4D349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D349C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D349C#FFFFFF#000000##FFFFFF
##4D349C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#314E63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d349c;
/* rgb */ color: rgb(77, 52, 156);
/* oklch */ color: oklch(41.7% 0.160 288.5);
Tailwind
colors: {
  custom: {
    50: '#866dba',
    500: '#4d349c',
    950: '#000000',
  },
}
SCSS
$custom: #4d349c;
$custom-light: #866dba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d349c",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 254.423,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.16032,
    "h": 288.5
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#4D349C
secondary
#A9BB71
accent
#DA4EB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D349C

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

Preview Lab → · Contrast checker → · Palette generator →

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