#4D2580#4D2580

#4D2580 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.145 H 299.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4D2580
RGBrgb(77, 37, 128)
HSLhsl(266, 55%, 32%)
HSVhsv(266, 71%, 50%)
CMYKcmyk(39.8%, 71.1%, 0%, 49.8%)
CIE-LABlab(25.14, 38.27, -44.41)
CIE-LCHlch(25.14, 58.62, 310.75°)
OKLaboklab(37.15% 0.0711 -0.1266)
OKLCHoklch(37.15% 0.145 299.3)
XYZxyz(7.6174, 4.4593, 20.8773)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2580 #588025
analogous
#252A80 #4D2580 #7B2580
triadic
#4D2580 #804D25 #25804D
tetradic
#4D2580 #80252A #588025 #25807B
square
#4D2580 #80252A #588025 #25807B
split-complementary
#4D2580 #807B25 #2A8025
monochromatic
#140A21 #301751 #4D2580 #6A33AF #8852CD

Accessibility & contrast

On white

11.10
#4D2580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D2580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2580
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2580#FFFFFF#000000##FFFFFF
##4D25801.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#413B4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2580;
/* rgb */ color: rgb(77, 37, 128);
/* oklch */ color: oklch(37.1% 0.145 299.3);
Tailwind
colors: {
  custom: {
    50: '#8463a6',
    500: '#4d2580',
    950: '#000000',
  },
}
SCSS
$custom: #4d2580;
$custom-light: #8463a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2580",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 266.374,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37148,
    "c": 0.14525,
    "h": 299.3
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#4D2580
secondary
#86B150
accent
#DE499D
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4D2580

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

Preview Lab → · Contrast checker → · Palette generator →

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