#4D3ACA#4D3ACA

#4D3ACA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.7% C 0.211 H 280.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4D3ACA
RGBrgb(77, 58, 202)
HSLhsl(248, 58%, 51%)
HSVhsv(248, 71%, 79%)
CMYKcmyk(61.9%, 71.3%, 0%, 20.8%)
CIE-LABlab(35.73, 48.62, -71.79)
CIE-LCHlch(35.73, 86.71, 304.11°)
OKLaboklab(46.7% 0.0381 -0.207)
OKLCHoklch(46.7% 0.211 280.4)
XYZxyz(15.2309, 8.8670, 56.7746)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ACA #B7CA3A
analogous
#3A6FCA #4D3ACA #953ACA
triadic
#4D3ACA #CA4D3A #3ACA4D
tetradic
#4D3ACA #CA3A6F #B7CA3A #3ACA95
square
#4D3ACA #CA3A6F #B7CA3A #3ACA95
split-complementary
#4D3ACA #CA953A #6FCA3A
monochromatic
#281D6C #392A9D #4D3ACA #796AD7 #A49AE4

Accessibility & contrast

On white

7.57
#4D3ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D3ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ACA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ACA#FFFFFF#000000##FFFFFF
##4D3ACA1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3aca;
/* rgb */ color: rgb(77, 58, 202);
/* oklch */ color: oklch(46.7% 0.211 280.4);
Tailwind
colors: {
  custom: {
    50: '#8d72db',
    500: '#4d3aca',
    950: '#000000',
  },
}
SCSS
$custom: #4d3aca;
$custom-light: #8d72db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3aca",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 247.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.21053,
    "h": 280.4
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#4D3ACA
secondary
#C7D090
accent
#E147CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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