#4D2C80#4D2C80

#4D2C80 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 297.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4D2C80
RGBrgb(77, 44, 128)
HSLhsl(264, 49%, 34%)
HSVhsv(264, 66%, 50%)
CMYKcmyk(39.8%, 65.6%, 0%, 49.8%)
CIE-LABlab(26.56, 34.37, -42.10)
CIE-LCHlch(26.56, 54.35, 309.23°)
OKLaboklab(38.17% 0.0629 -0.1199)
OKLCHoklch(38.17% 0.135 297.7)
XYZxyz(7.8565, 4.9375, 20.9570)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C80 #5F802C
analogous
#2C3580 #4D2C80 #772C80
triadic
#4D2C80 #804D2C #2C804D
tetradic
#4D2C80 #802C35 #5F802C #2C8077
square
#4D2C80 #802C35 #5F802C #2C8077
split-complementary
#4D2C80 #80772C #35802C
monochromatic
#160D25 #321C52 #4D2C80 #683CAE #885FC8

Accessibility & contrast

On white

10.57
#4D2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C80
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C80#FFFFFF#000000##FFFFFF
##4D2C801.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#413F52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2c80;
/* rgb */ color: rgb(77, 44, 128);
/* oklch */ color: oklch(38.2% 0.135 297.7);
Tailwind
colors: {
  custom: {
    50: '#8367a5',
    500: '#4d2c80',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c80;
$custom-light: #8367a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c80",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 263.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.13541,
    "h": 297.7
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#4D2C80
secondary
#8DAE5A
accent
#D84FA3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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