#4D2484#4D2484

#4D2484 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.151 H 298.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4D2484
RGBrgb(77, 36, 132)
HSLhsl(266, 57%, 33%)
HSVhsv(266, 73%, 52%)
CMYKcmyk(41.7%, 72.7%, 0%, 48.2%)
CIE-LABlab(25.28, 39.88, -46.69)
CIE-LCHlch(25.28, 61.40, 310.50°)
OKLaboklab(37.35% 0.0715 -0.1333)
OKLCHoklch(37.35% 0.151 298.2)
XYZxyz(7.8552, 4.5054, 22.2811)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2484 #5B8424
analogous
#242B84 #4D2484 #7D2484
triadic
#4D2484 #844D24 #24844D
tetradic
#4D2484 #84242B #5B8424 #24847D
square
#4D2484 #84242B #5B8424 #24847D
split-complementary
#4D2484 #847D24 #2B8424
monochromatic
#150A24 #311754 #4D2484 #6931B4 #8852D0

Accessibility & contrast

On white

11.05
#4D2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4D2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2484
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2484#FFFFFF#000000##FFFFFF
##4D24841.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#403C51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2484;
/* rgb */ color: rgb(77, 36, 132);
/* oklch */ color: oklch(37.4% 0.151 298.2);
Tailwind
colors: {
  custom: {
    50: '#8462a9',
    500: '#4d2484',
    950: '#000000',
  },
}
SCSS
$custom: #4d2484;
$custom-light: #8462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2484",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 265.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.15131,
    "h": 298.2
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#4D2484
secondary
#89B450
accent
#E0479F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2484

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

Preview Lab → · Contrast checker → · Palette generator →

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