#4D2BAE#4D2BAE

#4D2BAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.193 H 286.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4D2BAE
RGBrgb(77, 43, 174)
HSLhsl(256, 60%, 43%)
HSVhsv(256, 75%, 68%)
CMYKcmyk(55.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(30.31, 48.15, -64.18)
CIE-LCHlch(30.31, 80.24, 306.88°)
OKLaboklab(42.06% 0.0554 -0.1847)
OKLCHoklch(42.06% 0.193 286.7)
XYZxyz(11.5621, 6.3609, 40.6547)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BAE #8CAE2B
analogous
#2B4AAE #4D2BAE #8F2BAE
triadic
#4D2BAE #AE4D2B #2BAE4D
tetradic
#4D2BAE #AE2B4A #8CAE2B #2BAE8F
square
#4D2BAE #AE2B4A #8CAE2B #2BAE8F
split-complementary
#4D2BAE #AE8F2B #4AAE2B
monochromatic
#22134C #371F7D #4D2BAE #6945D1 #9176DD

Accessibility & contrast

On white

9.24
#4D2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4D2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BAE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BAE#FFFFFF#000000##FFFFFF
##4D2BAE1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#224F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d2bae;
/* rgb */ color: rgb(77, 43, 174);
/* oklch */ color: oklch(42.1% 0.193 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a68c7',
    500: '#4d2bae',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bae;
$custom-light: #8a68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bae",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 255.573,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.19283,
    "h": 286.7
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#4D2BAE
secondary
#AFC570
accent
#E444BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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