#4D3ACC#4D3ACC

#4D3ACC is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.9% C 0.213 H 280.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4D3ACC
RGBrgb(77, 58, 204)
HSLhsl(248, 59%, 51%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62.3%, 71.6%, 0%, 20%)
CIE-LABlab(35.91, 49.23, -72.65)
CIE-LCHlch(35.91, 87.76, 304.12°)
OKLaboklab(46.88% 0.0377 -0.2096)
OKLCHoklch(46.88% 0.213 280.2)
XYZxyz(15.4693, 8.9624, 58.0298)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ACC #B9CC3A
analogous
#3A70CC #4D3ACC #963ACC
triadic
#4D3ACC #CC4D3A #3ACC4D
tetradic
#4D3ACC #CC3A70 #B9CC3A #3ACC96
square
#4D3ACC #CC3A70 #B9CC3A #3ACC96
split-complementary
#4D3ACC #CC963A #70CC3A
monochromatic
#271D6F #3929A0 #4D3ACC #796BD9 #A59BE5

Accessibility & contrast

On white

7.52
#4D3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ACC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ACC#FFFFFF#000000##FFFFFF
##4D3ACC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3acc;
/* rgb */ color: rgb(77, 58, 204);
/* oklch */ color: oklch(46.9% 0.213 280.2);
Tailwind
colors: {
  custom: {
    50: '#8e72dd',
    500: '#4d3acc',
    950: '#000000',
  },
}
SCSS
$custom: #4d3acc;
$custom-light: #8e72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3acc",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 247.808,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.21294,
    "h": 280.2
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#4D3ACC
secondary
#C9D191
accent
#E246CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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