#4D3E91#4D3E91

#4D3E91 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.5% C 0.132 H 287.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4D3E91
RGBrgb(77, 62, 145)
HSLhsl(251, 40%, 41%)
HSVhsv(251, 57%, 57%)
CMYKcmyk(46.9%, 57.2%, 0%, 43.1%)
CIE-LABlab(31.96, 28.48, -43.93)
CIE-LCHlch(31.96, 52.35, 302.95°)
OKLaboklab(42.52% 0.0401 -0.1252)
OKLCHoklch(42.52% 0.132 287.8)
XYZxyz(9.8926, 7.0670, 27.6254)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3E91 #82913E
analogous
#3E5891 #4D3E91 #763E91
triadic
#4D3E91 #914D3E #3E914D
tetradic
#4D3E91 #913E58 #82913E #3E9176
square
#4D3E91 #913E58 #82913E #3E9176
split-complementary
#4D3E91 #91763E #58913E
monochromatic
#1F193B #362C66 #4D3E91 #6756B7 #8E80C9

Accessibility & contrast

On white

8.70
#4D3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3E91
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3E91#FFFFFF#000000##FFFFFF
##4D3E911.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#375061
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d3e91;
/* rgb */ color: rgb(77, 62, 145);
/* oklch */ color: oklch(42.5% 0.132 287.8);
Tailwind
colors: {
  custom: {
    50: '#8474b2',
    500: '#4d3e91',
    950: '#000000',
  },
}
SCSS
$custom: #4d3e91;
$custom-light: #8474b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3e91",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 250.843,
    "s": 40.097,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.13152,
    "h": 287.8
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#4D3E91
secondary
#A8B378
accent
#D058BA
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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