#4D2DC3#4D2DC3

#4D2DC3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.215 H 283.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4D2DC3
RGBrgb(77, 45, 195)
HSLhsl(253, 63%, 47%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(60.5%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.69, 53.23, -72.70)
CIE-LCHlch(32.69, 90.11, 306.21°)
OKLaboklab(44.35% 0.0484 -0.2096)
OKLCHoklch(44.35% 0.215 283)
XYZxyz(13.8462, 7.3937, 52.3167)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DC3 #A3C32D
analogous
#2D58C3 #4D2DC3 #982DC3
triadic
#4D2DC3 #C34D2D #2DC34D
tetradic
#4D2DC3 #C32D58 #A3C32D #2DC398
square
#4D2DC3 #C32D58 #A3C32D #2DC398
split-complementary
#4D2DC3 #C3982D #58C32D
monochromatic
#261660 #392291 #4D2DC3 #7155D8 #9B87E3

Accessibility & contrast

On white

8.47
#4D2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DC3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DC3#FFFFFF#000000##FFFFFF
##4D2DC31.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2dc3;
/* rgb */ color: rgb(77, 45, 195);
/* oklch */ color: oklch(44.3% 0.215 283.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ad6',
    500: '#4d2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2dc3;
$custom-light: #8d6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2dc3",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 252.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.21515,
    "h": 283
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#4D2DC3
secondary
#BCCD7F
accent
#E642C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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