#4D3699#4D3699

#4D3699 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.154 H 288.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4D3699
RGBrgb(77, 54, 153)
HSLhsl(254, 48%, 41%)
HSVhsv(254, 65%, 60%)
CMYKcmyk(49.7%, 64.7%, 0%, 40%)
CIE-LABlab(30.68, 35.85, -50.89)
CIE-LCHlch(30.68, 62.25, 305.16°)
OKLaboklab(41.77% 0.0491 -0.1457)
OKLCHoklch(41.77% 0.154 288.6)
XYZxyz(10.1278, 6.5156, 30.8548)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3699 #829936
analogous
#365199 #4D3699 #7E3699
triadic
#4D3699 #994D36 #36994D
tetradic
#4D3699 #993651 #829936 #36997E
square
#4D3699 #993651 #829936 #36997E
split-complementary
#4D3699 #997E36 #519936
monochromatic
#1F163F #36266C #4D3699 #674CC0 #8E7AD0

Accessibility & contrast

On white

9.12
#4D3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3699
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3699#FFFFFF#000000##FFFFFF
##4D36991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#334E62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d3699;
/* rgb */ color: rgb(77, 54, 153);
/* oklch */ color: oklch(41.8% 0.154 288.6);
Tailwind
colors: {
  custom: {
    50: '#856eb8',
    500: '#4d3699',
    950: '#000000',
  },
}
SCSS
$custom: #4d3699;
$custom-light: #856eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3699",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 253.939,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.15377,
    "h": 288.6
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#4D3699
secondary
#A8B972
accent
#D750B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3699

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

Preview Lab → · Contrast checker → · Palette generator →

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