#4D3192#4D3192

#4D3192 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.151 H 291.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4D3192
RGBrgb(77, 49, 146)
HSLhsl(257, 50%, 38%)
HSVhsv(257, 66%, 57%)
CMYKcmyk(47.3%, 66.4%, 0%, 42.7%)
CIE-LABlab(29.03, 36.69, -49.28)
CIE-LCHlch(29.03, 61.44, 306.67°)
OKLaboklab(40.4% 0.0553 -0.141)
OKLCHoklch(40.4% 0.151 291.4)
XYZxyz(9.3457, 5.8494, 27.8252)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3192 #769231
analogous
#314592 #4D3192 #7D3192
triadic
#4D3192 #924D31 #31924D
tetradic
#4D3192 #923145 #769231 #31927D
square
#4D3192 #923145 #769231 #31927D
split-complementary
#4D3192 #927D31 #459231
monochromatic
#1D1236 #352264 #4D3192 #6541BF #8A6FCF

Accessibility & contrast

On white

9.68
#4D3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3192
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3192#FFFFFF#000000##FFFFFF
##4D31921.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#38485D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3192;
/* rgb */ color: rgb(77, 49, 146);
/* oklch */ color: oklch(40.4% 0.151 291.4);
Tailwind
colors: {
  custom: {
    50: '#856bb3',
    500: '#4d3192',
    950: '#000000',
  },
}
SCSS
$custom: #4d3192;
$custom-light: #856bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3192",
  "rgb": {
    "r": 77,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 257.32,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.404,
    "c": 0.15145,
    "h": 291.4
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#4D3192
secondary
#A0B669
accent
#D94FB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4D3192

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

Preview Lab → · Contrast checker → · Palette generator →

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