#4D2EC9#4D2EC9

#4D2EC9 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.221 H 282.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4D2EC9
RGBrgb(77, 46, 201)
HSLhsl(252, 63%, 48%)
HSVhsv(252, 77%, 79%)
CMYKcmyk(61.7%, 77.1%, 0%, 21.2%)
CIE-LABlab(33.45, 54.48, -74.95)
CIE-LCHlch(33.45, 92.66, 306.01°)
OKLaboklab(45.06% 0.0462 -0.2162)
OKLCHoklch(45.06% 0.221 282.1)
XYZxyz(14.5769, 7.7478, 55.9743)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EC9 #AAC92E
analogous
#2E5CC9 #4D2EC9 #9A2EC9
triadic
#4D2EC9 #C94D2E #2EC94D
tetradic
#4D2EC9 #C92E5C #AAC92E #2EC99A
square
#4D2EC9 #C92E5C #AAC92E #2EC99A
split-complementary
#4D2EC9 #C99A2E #5CC92E
monochromatic
#271765 #3A2397 #4D2EC9 #745BD9 #9E8DE5

Accessibility & contrast

On white

8.24
#4D2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D2EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EC9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EC9#FFFFFF#000000##FFFFFF
##4D2EC91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d2ec9;
/* rgb */ color: rgb(77, 46, 201);
/* oklch */ color: oklch(45.1% 0.221 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bdb',
    500: '#4d2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ec9;
$custom-light: #8e6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ec9",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 252,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.22109,
    "h": 282.1
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#4D2EC9
secondary
#C0CF84
accent
#E642C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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