#4D3F91#4D3F91

#4D3F91 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.7% C 0.130 H 287.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4D3F91
RGBrgb(77, 63, 145)
HSLhsl(250, 39%, 41%)
HSVhsv(250, 57%, 57%)
CMYKcmyk(46.9%, 56.6%, 0%, 43.1%)
CIE-LABlab(32.21, 27.84, -43.53)
CIE-LCHlch(32.21, 51.67, 302.61°)
OKLaboklab(42.7% 0.0389 -0.1241)
OKLCHoklch(42.7% 0.13 287.4)
XYZxyz(9.9474, 7.1767, 27.6437)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3F91 #83913F
analogous
#3F5A91 #4D3F91 #763F91
triadic
#4D3F91 #914D3F #3F914D
tetradic
#4D3F91 #913F5A #83913F #3F9176
square
#4D3F91 #913F5A #83913F #3F9176
split-complementary
#4D3F91 #91763F #5A913F
monochromatic
#201A3C #362C66 #4D3F91 #6757B6 #8E82C9

Accessibility & contrast

On white

8.62
#4D3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D3F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3F91
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3F91#FFFFFF#000000##FFFFFF
##4D3F911.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#114A8F
Tritanopia (blue-blind)
#375161
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d3f91;
/* rgb */ color: rgb(77, 63, 145);
/* oklch */ color: oklch(42.7% 0.130 287.4);
Tailwind
colors: {
  custom: {
    50: '#8474b2',
    500: '#4d3f91',
    950: '#000000',
  },
}
SCSS
$custom: #4d3f91;
$custom-light: #8474b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3f91",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 250.244,
    "s": 39.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42702,
    "c": 0.13002,
    "h": 287.4
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#4D3F91
secondary
#A9B379
accent
#CF58BB
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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