#4D2499#4D2499

#4D2499 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.176 H 292.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4D2499
RGBrgb(77, 36, 153)
HSLhsl(261, 62%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(49.7%, 76.5%, 0%, 40%)
CIE-LABlab(27.13, 45.65, -56.68)
CIE-LCHlch(27.13, 72.78, 308.85°)
OKLaboklab(39.23% 0.0666 -0.1627)
OKLCHoklch(39.23% 0.176 292.3)
XYZxyz(9.4396, 5.1391, 30.6254)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2499 #709924
analogous
#243599 #4D2499 #882499
triadic
#4D2499 #994D24 #24994D
tetradic
#4D2499 #992435 #709924 #249988
square
#4D2499 #992435 #709924 #249988
split-complementary
#4D2499 #998824 #359924
monochromatic
#1B0D36 #341867 #4D2499 #6630CB #895ED9

Accessibility & contrast

On white

10.36
#4D2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2499
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2499#FFFFFF#000000##FFFFFF
##4D24991.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#34445D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2499;
/* rgb */ color: rgb(77, 36, 153);
/* oklch */ color: oklch(39.2% 0.176 292.3);
Tailwind
colors: {
  custom: {
    50: '#8763b8',
    500: '#4d2499',
    950: '#000000',
  },
}
SCSS
$custom: #4d2499;
$custom-light: #8763b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2499",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 261.026,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.17577,
    "h": 292.3
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#4D2499
secondary
#9BBE5B
accent
#E543AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2499

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

Preview Lab → · Contrast checker → · Palette generator →

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