#4D2EC0#4D2EC0

#4D2EC0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.211 H 283.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4D2EC0
RGBrgb(77, 46, 192)
HSLhsl(253, 61%, 47%)
HSVhsv(253, 76%, 75%)
CMYKcmyk(59.9%, 76%, 0%, 24.7%)
CIE-LABlab(32.56, 51.88, -71.15)
CIE-LCHlch(32.56, 88.05, 306.10°)
OKLaboklab(44.17% 0.0486 -0.2051)
OKLCHoklch(44.17% 0.211 283.3)
XYZxyz(13.5490, 7.3366, 50.5611)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EC0 #A1C02E
analogous
#2E58C0 #4D2EC0 #962EC0
triadic
#4D2EC0 #C04D2E #2EC04D
tetradic
#4D2EC0 #C02E58 #A1C02E #2EC096
square
#4D2EC0 #C02E58 #A1C02E #2EC096
split-complementary
#4D2EC0 #C0962E #58C02E
monochromatic
#25165D #39228F #4D2EC0 #7055D6 #9A86E2

Accessibility & contrast

On white

8.51
#4D2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4D2EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EC0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EC0#FFFFFF#000000##FFFFFF
##4D2EC01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d2ec0;
/* rgb */ color: rgb(77, 46, 192);
/* oklch */ color: oklch(44.2% 0.211 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c6bd4',
    500: '#4d2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ec0;
$custom-light: #8c6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ec0",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 252.74,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.21078,
    "h": 283.3
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#4D2EC0
secondary
#BBCC7E
accent
#E443C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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