#4D2599#4D2599

#4D2599 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.175 H 292.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4D2599
RGBrgb(77, 37, 153)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(49.7%, 75.8%, 0%, 40%)
CIE-LABlab(27.30, 45.17, -56.40)
CIE-LCHlch(27.30, 72.26, 308.69°)
OKLaboklab(39.35% 0.0657 -0.1619)
OKLCHoklch(39.35% 0.175 292.1)
XYZxyz(9.4703, 5.2005, 30.6356)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2599 #719925
analogous
#253799 #4D2599 #872599
triadic
#4D2599 #994D25 #25994D
tetradic
#4D2599 #992537 #719925 #259987
square
#4D2599 #992537 #719925 #259987
split-complementary
#4D2599 #998725 #379925
monochromatic
#1B0D36 #341968 #4D2599 #6631CA #8960D9

Accessibility & contrast

On white

10.29
#4D2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4D2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2599
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2599#FFFFFF#000000##FFFFFF
##4D25991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#34445D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2599;
/* rgb */ color: rgb(77, 37, 153);
/* oklch */ color: oklch(39.4% 0.175 292.1);
Tailwind
colors: {
  custom: {
    50: '#8764b8',
    500: '#4d2599',
    950: '#000000',
  },
}
SCSS
$custom: #4d2599;
$custom-light: #8764b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2599",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 260.69,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.1747,
    "h": 292.1
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#4D2599
secondary
#9CBE5C
accent
#E444AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2599

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

Preview Lab → · Contrast checker → · Palette generator →

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