#4D2B8A#4D2B8A

#4D2B8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.149 H 294.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4D2B8A
RGBrgb(77, 43, 138)
HSLhsl(261, 52%, 35%)
HSVhsv(261, 69%, 54%)
CMYKcmyk(44.2%, 68.8%, 0%, 45.9%)
CIE-LABlab(27.13, 37.78, -47.42)
CIE-LCHlch(27.13, 60.63, 308.54°)
OKLaboklab(38.83% 0.0629 -0.1355)
OKLCHoklch(38.83% 0.149 294.9)
XYZxyz(8.5107, 5.1403, 24.5836)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B8A #688A2B
analogous
#2B388A #4D2B8A #7C2B8A
triadic
#4D2B8A #8A4D2B #2B8A4D
tetradic
#4D2B8A #8A2B38 #688A2B #2B8A7C
square
#4D2B8A #8A2B38 #688A2B #2B8A7C
split-complementary
#4D2B8A #8A7C2B #388A2B
monochromatic
#190E2D #331C5B #4D2B8A #673AB9 #8861CE

Accessibility & contrast

On white

10.35
#4D2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2B8A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B8A#FFFFFF#000000##FFFFFF
##4D2B8A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#3C4257
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2b8a;
/* rgb */ color: rgb(77, 43, 138);
/* oklch */ color: oklch(38.8% 0.149 294.9);
Tailwind
colors: {
  custom: {
    50: '#8467ad',
    500: '#4d2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b8a;
$custom-light: #8467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b8a",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 261.474,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38831,
    "c": 0.14943,
    "h": 294.9
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#4D2B8A
secondary
#95B45D
accent
#DC4CA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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