#4D2E84#4D2E84

#4D2E84 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.138 H 295.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4D2E84
RGBrgb(77, 46, 132)
HSLhsl(262, 48%, 35%)
HSVhsv(262, 65%, 52%)
CMYKcmyk(41.7%, 65.2%, 0%, 48.2%)
CIE-LABlab(27.29, 34.35, -43.42)
CIE-LCHlch(27.29, 55.37, 308.35°)
OKLaboklab(38.8% 0.0602 -0.1238)
OKLCHoklch(38.8% 0.138 295.9)
XYZxyz(8.2013, 5.1975, 22.3964)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E84 #65842E
analogous
#2E3A84 #4D2E84 #782E84
triadic
#4D2E84 #844D2E #2E844D
tetradic
#4D2E84 #842E3A #65842E #2E8478
square
#4D2E84 #842E3A #65842E #2E8478
split-complementary
#4D2E84 #84782E #3A842E
monochromatic
#180E29 #331E57 #4D2E84 #673EB1 #8864C9

Accessibility & contrast

On white

10.30
#4D2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4D2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E84
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E84#FFFFFF#000000##FFFFFF
##4D2E841.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#3F4254
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2e84;
/* rgb */ color: rgb(77, 46, 132);
/* oklch */ color: oklch(38.8% 0.138 295.9);
Tailwind
colors: {
  custom: {
    50: '#8368a8',
    500: '#4d2e84',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e84;
$custom-light: #8368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e84",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 261.628,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.13762,
    "h": 295.9
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#4D2E84
secondary
#92B05E
accent
#D850A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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