#4D2584#4D2584

#4D2584 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.150 H 298.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4D2584
RGBrgb(77, 37, 132)
HSLhsl(265, 56%, 33%)
HSVhsv(265, 72%, 52%)
CMYKcmyk(41.7%, 72%, 0%, 48.2%)
CIE-LABlab(25.46, 39.36, -46.39)
CIE-LCHlch(25.46, 60.83, 310.31°)
OKLaboklab(37.48% 0.0704 -0.1325)
OKLCHoklch(37.48% 0.15 298)
XYZxyz(7.8859, 4.5667, 22.2913)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2584 #5C8425
analogous
#252C84 #4D2584 #7C2584
triadic
#4D2584 #844D25 #25844D
tetradic
#4D2584 #84252C #5C8425 #25847C
square
#4D2584 #84252C #5C8425 #25847C
split-complementary
#4D2584 #847C25 #2C8425
monochromatic
#150A24 #311854 #4D2584 #6932B4 #8854CF

Accessibility & contrast

On white

10.98
#4D2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2584
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2584#FFFFFF#000000##FFFFFF
##4D25841.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2584;
/* rgb */ color: rgb(77, 37, 132);
/* oklch */ color: oklch(37.5% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#8463a9',
    500: '#4d2584',
    950: '#000000',
  },
}
SCSS
$custom: #4d2584;
$custom-light: #8463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2584",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 265.263,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.15002,
    "h": 298
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#4D2584
secondary
#8AB351
accent
#E048A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2584

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

Preview Lab → · Contrast checker → · Palette generator →

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