#4D2B84#4D2B84

#4D2B84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.142 H 296.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4D2B84
RGBrgb(77, 43, 132)
HSLhsl(263, 51%, 34%)
HSVhsv(263, 67%, 52%)
CMYKcmyk(41.7%, 67.4%, 0%, 48.2%)
CIE-LABlab(26.65, 36.08, -44.45)
CIE-LCHlch(26.65, 57.25, 309.06°)
OKLaboklab(38.34% 0.0637 -0.1268)
OKLCHoklch(38.34% 0.142 296.7)
XYZxyz(8.0882, 4.9713, 22.3587)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B84 #62842B
analogous
#2B3684 #4D2B84 #7A2B84
triadic
#4D2B84 #844D2B #2B844D
tetradic
#4D2B84 #842B36 #62842B #2B847A
square
#4D2B84 #842B36 #62842B #2B847A
split-complementary
#4D2B84 #847A2B #36842B
monochromatic
#170D28 #321C56 #4D2B84 #683AB2 #885FCB

Accessibility & contrast

On white

10.53
#4D2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B84
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B84#FFFFFF#000000##FFFFFF
##4D2B841.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2b84;
/* rgb */ color: rgb(77, 43, 132);
/* oklch */ color: oklch(38.3% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#8467a8',
    500: '#4d2b84',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b84;
$custom-light: #8467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b84",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 262.921,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.14191,
    "h": 296.7
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#4D2B84
secondary
#90B15A
accent
#DA4DA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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