#4D3AA9#4D3AA9

#4D3AA9 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.169 H 284.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4D3AA9
RGBrgb(77, 58, 169)
HSLhsl(250, 49%, 45%)
HSVhsv(250, 66%, 66%)
CMYKcmyk(54.4%, 65.7%, 0%, 33.7%)
CIE-LABlab(32.85, 38.40, -57.02)
CIE-LCHlch(32.85, 68.75, 303.96°)
OKLaboklab(43.75% 0.0433 -0.1638)
OKLCHoklch(43.75% 0.169 284.8)
XYZxyz(11.7329, 7.4678, 38.3516)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AA9 #96A93A
analogous
#3A5FA9 #4D3AA9 #853AA9
triadic
#4D3AA9 #A94D3A #3AA94D
tetradic
#4D3AA9 #A93A5F #96A93A #3AA985
square
#4D3AA9 #A93A5F #96A93A #3AA985
split-complementary
#4D3AA9 #A9853A #5FA93A
monochromatic
#231B4E #382A7B #4D3AA9 #6C5AC6 #9587D6

Accessibility & contrast

On white

8.42
#4D3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4D3AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3AA9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3AA9#FFFFFF#000000##FFFFFF
##4D3AA91.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#26566C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d3aa9;
/* rgb */ color: rgb(77, 58, 169);
/* oklch */ color: oklch(43.7% 0.169 284.8);
Tailwind
colors: {
  custom: {
    50: '#8871c3',
    500: '#4d3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3aa9;
$custom-light: #8871c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3aa9",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 250.27,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.16938,
    "h": 284.8
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#4D3AA9
secondary
#B5C07F
accent
#D84FC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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