#4D2CD0#4D2CD0

#4D2CD0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.231 H 281.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4D2CD0
RGBrgb(77, 44, 208)
HSLhsl(252, 65%, 49%)
HSVhsv(252, 79%, 82%)
CMYKcmyk(63%, 78.8%, 0%, 18.4%)
CIE-LABlab(33.84, 57.41, -78.39)
CIE-LCHlch(33.84, 97.16, 306.22°)
OKLaboklab(45.55% 0.0453 -0.2262)
OKLCHoklch(45.55% 0.231 281.3)
XYZxyz(15.3428, 7.9321, 60.3848)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CD0 #AFD02C
analogous
#2C5DD0 #4D2CD0 #9F2CD0
triadic
#4D2CD0 #D04D2C #2CD04D
tetradic
#4D2CD0 #D02C5D #AFD02C #2CD09F
square
#4D2CD0 #D02C5D #AFD02C #2CD09F
split-complementary
#4D2CD0 #D09F2C #5DD02C
monochromatic
#28176B #3A219D #4D2CD0 #765DDD #A18FE7

Accessibility & contrast

On white

8.12
#4D2CD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D2CD0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CD0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CD0#FFFFFF#000000##FFFFFF
##4D2CD01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D5
Deuteranopia (green-blind)
#004ACD
Tritanopia (blue-blind)
#005E7E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d2cd0;
/* rgb */ color: rgb(77, 44, 208);
/* oklch */ color: oklch(45.5% 0.231 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f6be0',
    500: '#4d2cd0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cd0;
$custom-light: #8f6be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cd0",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 208
  },
  "hsl": {
    "h": 252.073,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.23069,
    "h": 281.3
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#4D2CD0
secondary
#C3D286
accent
#E840C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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