#4D249A#4D249A

#4D249A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.177 H 292.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4D249A
RGBrgb(77, 36, 154)
HSLhsl(261, 62%, 37%)
HSVhsv(261, 77%, 60%)
CMYKcmyk(50%, 76.6%, 0%, 39.6%)
CIE-LABlab(27.22, 45.93, -57.14)
CIE-LCHlch(27.22, 73.31, 308.79°)
OKLaboklab(39.32% 0.0663 -0.164)
OKLCHoklch(39.32% 0.177 292)
XYZxyz(9.5225, 5.1723, 31.0622)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D249A #719A24
analogous
#24369A #4D249A #88249A
triadic
#4D249A #9A4D24 #249A4D
tetradic
#4D249A #9A2436 #719A24 #249A88
square
#4D249A #9A2436 #719A24 #249A88
split-complementary
#4D249A #9A8824 #369A24
monochromatic
#1B0D37 #341868 #4D249A #6630CC #895FDA

Accessibility & contrast

On white

10.32
#4D249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D249A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D249A#FFFFFF#000000##FFFFFF
##4D249A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d249a;
/* rgb */ color: rgb(77, 36, 154);
/* oklch */ color: oklch(39.3% 0.177 292.0);
Tailwind
colors: {
  custom: {
    50: '#8763b9',
    500: '#4d249a',
    950: '#000000',
  },
}
SCSS
$custom: #4d249a;
$custom-light: #8763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d249a",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 260.847,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.17692,
    "h": 292
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#4D249A
secondary
#9CBF5B
accent
#E543AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D249A

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

Preview Lab → · Contrast checker → · Palette generator →

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