#4D2CC9#4D2CC9

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

Color values

HEX#4D2CC9
RGBrgb(77, 44, 201)
HSLhsl(253, 64%, 48%)
HSVhsv(253, 78%, 79%)
CMYKcmyk(61.7%, 78.1%, 0%, 21.2%)
CIE-LABlab(33.13, 55.42, -75.49)
CIE-LCHlch(33.13, 93.65, 306.28°)
OKLaboklab(44.83% 0.0474 -0.2178)
OKLCHoklch(44.83% 0.223 282.3)
XYZxyz(14.5006, 7.5952, 55.9489)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CC9 #A8C92C
analogous
#2C5AC9 #4D2CC9 #9B2CC9
triadic
#4D2CC9 #C94D2C #2CC94D
tetradic
#4D2CC9 #C92C5A #A8C92C #2CC99B
square
#4D2CC9 #C92C5A #A8C92C #2CC99B
split-complementary
#4D2CC9 #C99B2C #5AC92C
monochromatic
#271665 #3A2197 #4D2CC9 #7358DA #9D8AE5

Accessibility & contrast

On white

8.34
#4D2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D2CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CC9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CC9#FFFFFF#000000##FFFFFF
##4D2CC91.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d2cc9;
/* rgb */ color: rgb(77, 44, 201);
/* oklch */ color: oklch(44.8% 0.223 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e6adb',
    500: '#4d2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cc9;
$custom-light: #8e6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cc9",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 252.611,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.22285,
    "h": 282.3
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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