#4D349E#4D349E

#4D349E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.163 H 288.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4D349E
RGBrgb(77, 52, 158)
HSLhsl(254, 50%, 41%)
HSVhsv(254, 67%, 62%)
CMYKcmyk(51.3%, 67.1%, 0%, 38%)
CIE-LABlab(30.64, 38.54, -53.98)
CIE-LCHlch(30.64, 66.33, 305.52°)
OKLaboklab(41.87% 0.0506 -0.1548)
OKLCHoklch(41.87% 0.163 288.1)
XYZxyz(10.4583, 6.5019, 33.0451)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D349E #859E34
analogous
#34509E #4D349E #82349E
triadic
#4D349E #9E4D34 #349E4D
tetradic
#4D349E #9E3450 #859E34 #349E82
square
#4D349E #9E3450 #859E34 #349E82
split-complementary
#4D349E #9E8234 #509E34
monochromatic
#201642 #372570 #4D349E #684BC4 #8F79D3

Accessibility & contrast

On white

9.13
#4D349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D349E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D349E#FFFFFF#000000##FFFFFF
##4D349E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#304E64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d349e;
/* rgb */ color: rgb(77, 52, 158);
/* oklch */ color: oklch(41.9% 0.163 288.1);
Tailwind
colors: {
  custom: {
    50: '#866dbb',
    500: '#4d349e',
    950: '#000000',
  },
}
SCSS
$custom: #4d349e;
$custom-light: #866dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d349e",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 254.151,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.16289,
    "h": 288.1
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#4D349E
secondary
#AABC72
accent
#DA4EB9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4D349E

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

Preview Lab → · Contrast checker → · Palette generator →

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