#4D2A84#4D2A84

#4D2A84 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.143 H 296.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4D2A84
RGBrgb(77, 42, 132)
HSLhsl(263, 52%, 34%)
HSVhsv(263, 68%, 52%)
CMYKcmyk(41.7%, 68.2%, 0%, 48.2%)
CIE-LABlab(26.45, 36.64, -44.79)
CIE-LCHlch(26.45, 57.87, 309.29°)
OKLaboklab(38.19% 0.0649 -0.1278)
OKLCHoklch(38.19% 0.143 296.9)
XYZxyz(8.0523, 4.8995, 22.3468)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2A84 #61842A
analogous
#2A3484 #4D2A84 #7A2A84
triadic
#4D2A84 #844D2A #2A844D
tetradic
#4D2A84 #842A34 #61842A #2A847A
square
#4D2A84 #842A34 #61842A #2A847A
split-complementary
#4D2A84 #847A2A #34842A
monochromatic
#170C27 #321B56 #4D2A84 #6839B2 #885DCB

Accessibility & contrast

On white

10.61
#4D2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2A84
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2A84#FFFFFF#000000##FFFFFF
##4D2A841.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#3F3F53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2a84;
/* rgb */ color: rgb(77, 42, 132);
/* oklch */ color: oklch(38.2% 0.143 296.9);
Tailwind
colors: {
  custom: {
    50: '#8466a8',
    500: '#4d2a84',
    950: '#000000',
  },
}
SCSS
$custom: #4d2a84;
$custom-light: #8466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2a84",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 263.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.14332,
    "h": 296.9
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#4D2A84
secondary
#8FB159
accent
#DB4DA4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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