#4D2D84#4D2D84

#4D2D84 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.139 H 296.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4D2D84
RGBrgb(77, 45, 132)
HSLhsl(262, 49%, 35%)
HSVhsv(262, 66%, 52%)
CMYKcmyk(41.7%, 65.9%, 0%, 48.2%)
CIE-LABlab(27.07, 34.93, -43.77)
CIE-LCHlch(27.07, 56.00, 308.59°)
OKLaboklab(38.64% 0.0614 -0.1248)
OKLCHoklch(38.64% 0.139 296.2)
XYZxyz(8.1627, 5.1203, 22.3836)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D84 #64842D
analogous
#2D3884 #4D2D84 #792D84
triadic
#4D2D84 #844D2D #2D844D
tetradic
#4D2D84 #842D38 #64842D #2D8479
square
#4D2D84 #842D38 #64842D #2D8479
split-complementary
#4D2D84 #84792D #38842D
monochromatic
#180E29 #321D56 #4D2D84 #683DB2 #8862C9

Accessibility & contrast

On white

10.38
#4D2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D84
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D84#FFFFFF#000000##FFFFFF
##4D2D841.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2d84;
/* rgb */ color: rgb(77, 45, 132);
/* oklch */ color: oklch(38.6% 0.139 296.2);
Tailwind
colors: {
  custom: {
    50: '#8368a8',
    500: '#4d2d84',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d84;
$custom-light: #8368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d84",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 262.069,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38642,
    "c": 0.13907,
    "h": 296.2
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#4D2D84
secondary
#91B05D
accent
#D94FA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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