#4D3AC1#4D3AC1

#4D3AC1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.9% C 0.200 H 281.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4D3AC1
RGBrgb(77, 58, 193)
HSLhsl(248, 54%, 49%)
HSVhsv(248, 70%, 76%)
CMYKcmyk(60.1%, 69.9%, 0%, 24.3%)
CIE-LABlab(34.91, 45.85, -67.88)
CIE-LCHlch(34.91, 81.91, 304.04°)
OKLaboklab(45.86% 0.0398 -0.1956)
OKLCHoklch(45.86% 0.2 281.5)
XYZxyz(14.1962, 8.4532, 51.3253)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AC1 #AEC13A
analogous
#3A6BC1 #4D3AC1 #903AC1
triadic
#4D3AC1 #C14D3A #3AC14D
tetradic
#4D3AC1 #C13A6B #AEC13A #3AC190
square
#4D3AC1 #C13A6B #AEC13A #3AC190
split-complementary
#4D3AC1 #C1903A #6BC13A
monochromatic
#271E63 #3A2C92 #4D3AC1 #7667D1 #A096DF

Accessibility & contrast

On white

7.80
#4D3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D3AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3AC1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3AC1#FFFFFF#000000##FFFFFF
##4D3AC11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3ac1;
/* rgb */ color: rgb(77, 58, 193);
/* oklch */ color: oklch(45.9% 0.200 281.5);
Tailwind
colors: {
  custom: {
    50: '#8c72d5',
    500: '#4d3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ac1;
$custom-light: #8c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ac1",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 248.444,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.1996,
    "h": 281.5
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#4D3AC1
secondary
#C2CB8C
accent
#DD4BC9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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