#4D2DC6#4D2DC6

#4D2DC6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.219 H 282.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4D2DC6
RGBrgb(77, 45, 198)
HSLhsl(253, 63%, 48%)
HSVhsv(253, 77%, 78%)
CMYKcmyk(61.1%, 77.3%, 0%, 22.4%)
CIE-LABlab(32.99, 54.09, -73.97)
CIE-LCHlch(32.99, 91.64, 306.18°)
OKLaboklab(44.65% 0.0476 -0.2133)
OKLCHoklch(44.65% 0.219 282.6)
XYZxyz(14.1888, 7.5308, 54.1210)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DC6 #A6C62D
analogous
#2D59C6 #4D2DC6 #992DC6
triadic
#4D2DC6 #C64D2D #2DC64D
tetradic
#4D2DC6 #C62D59 #A6C62D #2DC699
square
#4D2DC6 #C62D59 #A6C62D #2DC699
split-complementary
#4D2DC6 #C6992D #59C62D
monochromatic
#261662 #3A2294 #4D2DC6 #7257D9 #9C89E4

Accessibility & contrast

On white

8.38
#4D2DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D2DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DC6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DC6#FFFFFF#000000##FFFFFF
##4D2DC61.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d2dc6;
/* rgb */ color: rgb(77, 45, 198);
/* oklch */ color: oklch(44.6% 0.219 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bd9',
    500: '#4d2dc6',
    950: '#000000',
  },
}
SCSS
$custom: #4d2dc6;
$custom-light: #8e6bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2dc6",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 252.549,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.21857,
    "h": 282.6
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#4D2DC6
secondary
#BECE81
accent
#E642C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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