#4D3B97#4D3B97

#4D3B97 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.144 H 287.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4D3B97
RGBrgb(77, 59, 151)
HSLhsl(252, 44%, 41%)
HSVhsv(252, 61%, 59%)
CMYKcmyk(49%, 60.9%, 0%, 40.8%)
CIE-LABlab(31.67, 32.20, -48.06)
CIE-LCHlch(31.67, 57.85, 303.83°)
OKLaboklab(42.44% 0.0436 -0.1374)
OKLCHoklch(42.44% 0.144 287.6)
XYZxyz(10.2088, 6.9396, 30.0737)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3B97 #85973B
analogous
#3B5797 #4D3B97 #7B3B97
triadic
#4D3B97 #974D3B #3B974D
tetradic
#4D3B97 #973B57 #85973B #3B977B
square
#4D3B97 #973B57 #85973B #3B977B
split-complementary
#4D3B97 #977B3B #57973B
monochromatic
#20193F #372A6B #4D3B97 #6853BC #8F7FCD

Accessibility & contrast

On white

8.79
#4D3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D3B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3B97
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3B97#FFFFFF#000000##FFFFFF
##4D3B971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#345063
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d3b97;
/* rgb */ color: rgb(77, 59, 151);
/* oklch */ color: oklch(42.4% 0.144 287.6);
Tailwind
colors: {
  custom: {
    50: '#8572b6',
    500: '#4d3b97',
    950: '#000000',
  },
}
SCSS
$custom: #4d3b97;
$custom-light: #8572b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3b97",
  "rgb": {
    "r": 77,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 251.739,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.14417,
    "h": 287.6
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#4D3B97
secondary
#AAB777
accent
#D454BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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