#4D2EC2#4D2EC2

#4D2EC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.213 H 283.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4D2EC2
RGBrgb(77, 46, 194)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(60.3%, 76.3%, 0%, 23.9%)
CIE-LABlab(32.76, 52.46, -72.00)
CIE-LCHlch(32.76, 89.08, 306.07°)
OKLaboklab(44.37% 0.0481 -0.2076)
OKLCHoklch(44.37% 0.213 283)
XYZxyz(13.7721, 7.4259, 51.7361)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EC2 #A3C22E
analogous
#2E59C2 #4D2EC2 #972EC2
triadic
#4D2EC2 #C24D2E #2EC24D
tetradic
#4D2EC2 #C22E59 #A3C22E #2EC297
square
#4D2EC2 #C22E59 #A3C22E #2EC297
split-complementary
#4D2EC2 #C2972E #59C22E
monochromatic
#26175F #392291 #4D2EC2 #7156D7 #9B88E3

Accessibility & contrast

On white

8.45
#4D2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4D2EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EC2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EC2#FFFFFF#000000##FFFFFF
##4D2EC21.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2ec2;
/* rgb */ color: rgb(77, 46, 194);
/* oklch */ color: oklch(44.4% 0.213 283.0);
Tailwind
colors: {
  custom: {
    50: '#8d6bd6',
    500: '#4d2ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ec2;
$custom-light: #8d6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ec2",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 252.568,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.21308,
    "h": 283
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#4D2EC2
secondary
#BCCC7F
accent
#E543C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4D2EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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