#4D3CA1#4D3CA1

#4D3CA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.156 H 285.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4D3CA1
RGBrgb(77, 60, 161)
HSLhsl(250, 46%, 43%)
HSVhsv(250, 63%, 63%)
CMYKcmyk(52.2%, 62.7%, 0%, 36.9%)
CIE-LABlab(32.66, 34.71, -52.52)
CIE-LCHlch(32.66, 62.95, 303.46°)
OKLaboklab(43.41% 0.042 -0.1505)
OKLCHoklch(43.41% 0.156 285.6)
XYZxyz(11.1075, 7.3821, 34.5509)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CA1 #90A13C
analogous
#3C5DA1 #4D3CA1 #7F3CA1
triadic
#4D3CA1 #A14D3C #3CA14D
tetradic
#4D3CA1 #A13C5D #90A13C #3CA17F
square
#4D3CA1 #A13C5D #90A13C #3CA17F
split-complementary
#4D3CA1 #A17F3C #5DA13C
monochromatic
#221B48 #382B74 #4D3CA1 #6B59C1 #9286D2

Accessibility & contrast

On white

8.48
#4D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CA1
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CA1#FFFFFF#000000##FFFFFF
##4D3CA11.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#2D5469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d3ca1;
/* rgb */ color: rgb(77, 60, 161);
/* oklch */ color: oklch(43.4% 0.156 285.6);
Tailwind
colors: {
  custom: {
    50: '#8672be',
    500: '#4d3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ca1;
$custom-light: #8672be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ca1",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 250.099,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43409,
    "c": 0.15625,
    "h": 285.6
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#4D3CA1
secondary
#B1BC7D
accent
#D552BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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