#4D2CC7#4D2CC7

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

Color values

HEX#4D2CC7
RGBrgb(77, 44, 199)
HSLhsl(253, 64%, 48%)
HSVhsv(253, 78%, 78%)
CMYKcmyk(61.3%, 77.9%, 0%, 22%)
CIE-LABlab(32.92, 54.85, -74.66)
CIE-LCHlch(32.92, 92.64, 306.30°)
OKLaboklab(44.63% 0.0479 -0.2153)
OKLCHoklch(44.63% 0.221 282.5)
XYZxyz(14.2668, 7.5017, 54.7179)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CC7 #A6C72C
analogous
#2C59C7 #4D2CC7 #9A2CC7
triadic
#4D2CC7 #C74D2C #2CC74D
tetradic
#4D2CC7 #C72C59 #A6C72C #2CC79A
square
#4D2CC7 #C72C59 #A6C72C #2CC79A
split-complementary
#4D2CC7 #C79A2C #59C72C
monochromatic
#261663 #3A2195 #4D2CC7 #7256DA #9C89E5

Accessibility & contrast

On white

8.40
#4D2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D2CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CC7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CC7#FFFFFF#000000##FFFFFF
##4D2CC71.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2cc7;
/* rgb */ color: rgb(77, 44, 199);
/* oklch */ color: oklch(44.6% 0.221 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ad9',
    500: '#4d2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cc7;
$custom-light: #8e6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cc7",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 252.774,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44633,
    "c": 0.22059,
    "h": 282.5
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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