#4D2BCA#4D2BCA

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

Color values

HEX#4D2BCA
RGBrgb(77, 43, 202)
HSLhsl(253, 65%, 48%)
HSVhsv(253, 79%, 79%)
CMYKcmyk(61.9%, 78.7%, 0%, 20.8%)
CIE-LABlab(33.07, 56.17, -76.17)
CIE-LCHlch(33.07, 94.64, 306.40°)
OKLaboklab(44.83% 0.0476 -0.2197)
OKLCHoklch(44.83% 0.225 282.2)
XYZxyz(14.5818, 7.5688, 56.5582)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BCA #A8CA2B
analogous
#2B59CA #4D2BCA #9C2BCA
triadic
#4D2BCA #CA4D2B #2BCA4D
tetradic
#4D2BCA #CA2B59 #A8CA2B #2BCA9C
square
#4D2BCA #CA2B59 #A8CA2B #2BCA9C
split-complementary
#4D2BCA #CA9C2B #59CA2B
monochromatic
#271665 #3A2098 #4D2BCA #7357DB #9D89E6

Accessibility & contrast

On white

8.35
#4D2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2BCA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BCA#FFFFFF#000000##FFFFFF
##4D2BCA1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d2bca;
/* rgb */ color: rgb(77, 43, 202);
/* oklch */ color: oklch(44.8% 0.225 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e6adc',
    500: '#4d2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4d2bca;
$custom-light: #8e6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2bca",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 252.83,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.22482,
    "h": 282.2
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#4D2BCA
secondary
#BFD081
accent
#E840C4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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