#4D2DC8#4D2DC8

#4D2DC8 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.221 H 282.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D2DC8
RGBrgb(77, 45, 200)
HSLhsl(252, 63%, 48%)
HSVhsv(252, 78%, 78%)
CMYKcmyk(61.5%, 77.5%, 0%, 21.6%)
CIE-LABlab(33.19, 54.67, -74.81)
CIE-LCHlch(33.19, 92.65, 306.16°)
OKLaboklab(44.85% 0.0471 -0.2158)
OKLCHoklch(44.85% 0.221 282.3)
XYZxyz(14.4210, 7.6237, 55.3440)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DC8 #A8C82D
analogous
#2D5AC8 #4D2DC8 #9A2DC8
triadic
#4D2DC8 #C84D2D #2DC84D
tetradic
#4D2DC8 #C82D5A #A8C82D #2DC89A
square
#4D2DC8 #C82D5A #A8C82D #2DC89A
split-complementary
#4D2DC8 #C89A2D #5AC82D
monochromatic
#271764 #3A2296 #4D2DC8 #7359DA #9D8BE5

Accessibility & contrast

On white

8.32
#4D2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D2DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DC8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DC8#FFFFFF#000000##FFFFFF
##4D2DC81.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d2dc8;
/* rgb */ color: rgb(77, 45, 200);
/* oklch */ color: oklch(44.8% 0.221 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e6bda',
    500: '#4d2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4d2dc8;
$custom-light: #8e6bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2dc8",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 252.387,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44847,
    "c": 0.22084,
    "h": 282.3
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#4D2DC8
secondary
#BFCF82
accent
#E641C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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