#4D2EA0#4D2EA0

#4D2EA0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.173 H 288.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4D2EA0
RGBrgb(77, 46, 160)
HSLhsl(256, 55%, 40%)
HSVhsv(256, 71%, 63%)
CMYKcmyk(51.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(29.59, 42.51, -56.92)
CIE-LCHlch(29.59, 71.04, 306.75°)
OKLaboklab(41.17% 0.0561 -0.1635)
OKLCHoklch(41.17% 0.173 288.9)
XYZxyz(10.3809, 6.0694, 33.8754)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EA0 #81A02E
analogous
#2E48A0 #4D2EA0 #862EA0
triadic
#4D2EA0 #A04D2E #2EA04D
tetradic
#4D2EA0 #A02E48 #81A02E #2EA086
square
#4D2EA0 #A02E48 #81A02E #2EA086
split-complementary
#4D2EA0 #A0862E #48A02E
monochromatic
#1F1341 #362070 #4D2EA0 #6742C9 #8D72D6

Accessibility & contrast

On white

9.49
#4D2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EA0
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EA0#FFFFFF#000000##FFFFFF
##4D2EA01.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#2F4C63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d2ea0;
/* rgb */ color: rgb(77, 46, 160);
/* oklch */ color: oklch(41.2% 0.173 288.9);
Tailwind
colors: {
  custom: {
    50: '#8769bd',
    500: '#4d2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ea0;
$custom-light: #8769bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ea0",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 256.316,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.1728,
    "h": 288.9
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#4D2EA0
secondary
#A8BE6C
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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