#4D2CAA#4D2CAA

#4D2CAA is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.187 H 287.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4D2CAA
RGBrgb(77, 44, 170)
HSLhsl(256, 59%, 42%)
HSVhsv(256, 74%, 67%)
CMYKcmyk(54.7%, 74.1%, 0%, 33.3%)
CIE-LABlab(30.11, 46.49, -62.10)
CIE-LCHlch(30.11, 77.57, 306.82°)
OKLaboklab(41.81% 0.0556 -0.1786)
OKLCHoklch(41.81% 0.187 287.3)
XYZxyz(11.2148, 6.2808, 38.6438)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CAA #89AA2C
analogous
#2C4AAA #4D2CAA #8C2CAA
triadic
#4D2CAA #AA4D2C #2CAA4D
tetradic
#4D2CAA #AA2C4A #89AA2C #2CAA8C
square
#4D2CAA #AA2C4A #89AA2C #2CAA8C
split-complementary
#4D2CAA #AA8C2C #4AAA2C
monochromatic
#211349 #371F79 #4D2CAA #6944CF #9075DB

Accessibility & contrast

On white

9.31
#4D2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CAA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CAA#FFFFFF#000000##FFFFFF
##4D2CAA1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#264E69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d2caa;
/* rgb */ color: rgb(77, 44, 170);
/* oklch */ color: oklch(41.8% 0.187 287.3);
Tailwind
colors: {
  custom: {
    50: '#8969c4',
    500: '#4d2caa',
    950: '#000000',
  },
}
SCSS
$custom: #4d2caa;
$custom-light: #8969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2caa",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 255.714,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.18708,
    "h": 287.3
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#4D2CAA
secondary
#ADC36F
accent
#E246B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4D2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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