#4D2ACA#4D2ACA

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

Color values

HEX#4D2ACA
RGBrgb(77, 42, 202)
HSLhsl(253, 66%, 48%)
HSVhsv(253, 79%, 79%)
CMYKcmyk(61.9%, 79.2%, 0%, 20.8%)
CIE-LABlab(32.91, 56.62, -76.43)
CIE-LCHlch(32.91, 95.11, 306.53°)
OKLaboklab(44.72% 0.0482 -0.2205)
OKLCHoklch(44.72% 0.226 282.3)
XYZxyz(14.5459, 7.4969, 56.5462)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2ACA #A7CA2A
analogous
#2A57CA #4D2ACA #9D2ACA
triadic
#4D2ACA #CA4D2A #2ACA4D
tetradic
#4D2ACA #CA2A57 #A7CA2A #2ACA9D
square
#4D2ACA #CA2A57 #A7CA2A #2ACA9D
split-complementary
#4D2ACA #CA9D2A #57CA2A
monochromatic
#261565 #3A1F97 #4D2ACA #7355DC #9D88E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D2ACA#FFFFFF#000000##FFFFFF
##4D2ACA1.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)
#0052CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2aca;
/* rgb */ color: rgb(77, 42, 202);
/* oklch */ color: oklch(44.7% 0.226 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e69dc',
    500: '#4d2aca',
    950: '#000000',
  },
}
SCSS
$custom: #4d2aca;
$custom-light: #8e69dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2aca",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 253.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.22566,
    "h": 282.3
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#4D2ACA
secondary
#BED080
accent
#E93FC4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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