#4D2CC8#4D2CC8

#4D2CC8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.222 H 282.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4D2CC8
RGBrgb(77, 44, 200)
HSLhsl(253, 64%, 48%)
HSVhsv(253, 78%, 78%)
CMYKcmyk(61.5%, 78%, 0%, 21.6%)
CIE-LABlab(33.02, 55.14, -75.08)
CIE-LCHlch(33.02, 93.15, 306.29°)
OKLaboklab(44.73% 0.0476 -0.2165)
OKLCHoklch(44.73% 0.222 282.4)
XYZxyz(14.3833, 7.5483, 55.3314)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CC8 #A7C82C
analogous
#2C59C8 #4D2CC8 #9B2CC8
triadic
#4D2CC8 #C84D2C #2CC84D
tetradic
#4D2CC8 #C82C59 #A7C82C #2CC89B
square
#4D2CC8 #C82C59 #A7C82C #2CC89B
split-complementary
#4D2CC8 #C89B2C #59C82C
monochromatic
#261664 #3A2196 #4D2CC8 #7357DA #9D89E5

Accessibility & contrast

On white

8.37
#4D2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2CC8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CC8#FFFFFF#000000##FFFFFF
##4D2CC81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2cc8;
/* rgb */ color: rgb(77, 44, 200);
/* oklch */ color: oklch(44.7% 0.222 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e6ada',
    500: '#4d2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cc8;
$custom-light: #8e6ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cc8",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 252.692,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.22172,
    "h": 282.4
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#4D2CC8
secondary
#BECF81
accent
#E741C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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