#4D2EA3#4D2EA3

#4D2EA3 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.176 H 288.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2EA3
RGBrgb(77, 46, 163)
HSLhsl(256, 56%, 41%)
HSVhsv(256, 72%, 64%)
CMYKcmyk(52.8%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.85, 43.39, -58.31)
CIE-LCHlch(29.85, 72.68, 306.65°)
OKLaboklab(41.44% 0.0555 -0.1675)
OKLCHoklch(41.44% 0.176 288.3)
XYZxyz(10.6465, 6.1756, 35.2743)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EA3 #84A32E
analogous
#2E4AA3 #4D2EA3 #872EA3
triadic
#4D2EA3 #A34D2E #2EA34D
tetradic
#4D2EA3 #A32E4A #84A32E #2EA387
square
#4D2EA3 #A32E4A #84A32E #2EA387
split-complementary
#4D2EA3 #A3872E #4AA32E
monochromatic
#201344 #362173 #4D2EA3 #6844CA #8E74D8

Accessibility & contrast

On white

9.40
#4D2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4D2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EA3
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EA3#FFFFFF#000000##FFFFFF
##4D2EA31.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#2C4D65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d2ea3;
/* rgb */ color: rgb(77, 46, 163);
/* oklch */ color: oklch(41.4% 0.176 288.3);
Tailwind
colors: {
  custom: {
    50: '#886abf',
    500: '#4d2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ea3;
$custom-light: #886abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ea3",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 255.897,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.17646,
    "h": 288.3
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#4D2EA3
secondary
#AABF6D
accent
#DF49B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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