#4D3CAB#4D3CAB

#4D3CAB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.169 H 284.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4D3CAB
RGBrgb(77, 60, 171)
HSLhsl(249, 48%, 45%)
HSVhsv(249, 65%, 67%)
CMYKcmyk(55%, 64.9%, 0%, 32.9%)
CIE-LABlab(33.45, 37.84, -57.23)
CIE-LCHlch(33.45, 68.61, 303.47°)
OKLaboklab(44.24% 0.0411 -0.1644)
OKLCHoklch(44.24% 0.169 284)
XYZxyz(12.0249, 7.7491, 39.3823)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CAB #9AAB3C
analogous
#3C63AB #4D3CAB #843CAB
triadic
#4D3CAB #AB4D3C #3CAB4D
tetradic
#4D3CAB #AB3C63 #9AAB3C #3CAB84
square
#4D3CAB #AB3C63 #9AAB3C #3CAB84
split-complementary
#4D3CAB #AB843C #63AB3C
monochromatic
#241C50 #392C7E #4D3CAB #6E5EC6 #978BD6

Accessibility & contrast

On white

8.24
#4D3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CAB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CAB#FFFFFF#000000##FFFFFF
##4D3CAB1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#23576E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3cab;
/* rgb */ color: rgb(77, 60, 171);
/* oklch */ color: oklch(44.2% 0.169 284.0);
Tailwind
colors: {
  custom: {
    50: '#8873c5',
    500: '#4d3cab',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cab;
$custom-light: #8873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cab",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 249.189,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.16943,
    "h": 284
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#4D3CAB
secondary
#B7C182
accent
#D850C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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