#4D2FCC#4D2FCC

#4D2FCC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.224 H 281.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4D2FCC
RGBrgb(77, 47, 204)
HSLhsl(251, 63%, 49%)
HSVhsv(251, 77%, 80%)
CMYKcmyk(62.3%, 77%, 0%, 20%)
CIE-LABlab(33.92, 54.87, -75.93)
CIE-LCHlch(33.92, 93.68, 305.85°)
OKLaboklab(45.48% 0.0448 -0.2191)
OKLCHoklch(45.48% 0.224 281.6)
XYZxyz(14.9727, 7.9693, 57.8643)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FCC #AECC2F
analogous
#2F60CC #4D2FCC #9C2FCC
triadic
#4D2FCC #CC4D2F #2FCC4D
tetradic
#4D2FCC #CC2F60 #AECC2F #2FCC9C
square
#4D2FCC #CC2F60 #AECC2F #2FCC9C
split-complementary
#4D2FCC #CC9C2F #60CC2F
monochromatic
#271869 #3A249A #4D2FCC #765EDA #A090E5

Accessibility & contrast

On white

8.10
#4D2FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2FCC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FCC#FFFFFF#000000##FFFFFF
##4D2FCC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d2fcc;
/* rgb */ color: rgb(77, 47, 204);
/* oklch */ color: oklch(45.5% 0.224 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e6cdd',
    500: '#4d2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fcc;
$custom-light: #8e6cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fcc",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 251.465,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.2236,
    "h": 281.6
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#4D2FCC
secondary
#C2D087
accent
#E642C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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