#4D3392#4D3392

#4D3392 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.149 H 290.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4D3392
RGBrgb(77, 51, 146)
HSLhsl(256, 48%, 39%)
HSVhsv(256, 65%, 57%)
CMYKcmyk(47.3%, 65.1%, 0%, 42.7%)
CIE-LABlab(29.46, 35.51, -48.58)
CIE-LCHlch(29.46, 60.17, 306.17°)
OKLaboklab(40.71% 0.0531 -0.1389)
OKLCHoklch(40.71% 0.149 290.9)
XYZxyz(9.4312, 6.0204, 27.8537)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3392 #789233
analogous
#334892 #4D3392 #7C3392
triadic
#4D3392 #924D33 #33924D
tetradic
#4D3392 #923348 #789233 #33927C
square
#4D3392 #923348 #789233 #33927C
split-complementary
#4D3392 #927C33 #489233
monochromatic
#1D1337 #352365 #4D3392 #6644BE #8B72CE

Accessibility & contrast

On white

9.53
#4D3392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4D3392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3392
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3392#FFFFFF#000000##FFFFFF
##4D33921.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#38495D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d3392;
/* rgb */ color: rgb(77, 51, 146);
/* oklch */ color: oklch(40.7% 0.149 290.9);
Tailwind
colors: {
  custom: {
    50: '#856cb3',
    500: '#4d3392',
    950: '#000000',
  },
}
SCSS
$custom: #4d3392;
$custom-light: #856cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3392",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 256.421,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.14872,
    "h": 290.9
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#4D3392
secondary
#A1B66B
accent
#D850B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D3392

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

Preview Lab → · Contrast checker → · Palette generator →

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