#4D3090#4D3090

#4D3090 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.150 H 292.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4D3090
RGBrgb(77, 48, 144)
HSLhsl(258, 50%, 38%)
HSVhsv(258, 67%, 56%)
CMYKcmyk(46.5%, 66.7%, 0%, 43.5%)
CIE-LABlab(28.66, 36.68, -48.66)
CIE-LCHlch(28.66, 60.93, 307.01°)
OKLaboklab(40.08% 0.0566 -0.1392)
OKLCHoklch(40.08% 0.15 292.1)
XYZxyz(9.1502, 5.7050, 26.9992)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3090 #739030
analogous
#304390 #4D3090 #7D3090
triadic
#4D3090 #904D30 #30904D
tetradic
#4D3090 #903043 #739030 #30907D
square
#4D3090 #903043 #739030 #30907D
split-complementary
#4D3090 #907D30 #439030
monochromatic
#1C1134 #342162 #4D3090 #663FBE #8A6CCE

Accessibility & contrast

On white

9.81
#4D3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3090
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3090#FFFFFF#000000##FFFFFF
##4D30901.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#39475B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3090;
/* rgb */ color: rgb(77, 48, 144);
/* oklch */ color: oklch(40.1% 0.150 292.1);
Tailwind
colors: {
  custom: {
    50: '#856ab1',
    500: '#4d3090',
    950: '#000000',
  },
}
SCSS
$custom: #4d3090;
$custom-light: #856ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3090",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 258.125,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.15024,
    "h": 292.1
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#4D3090
secondary
#9EB566
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4D3090

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

Preview Lab → · Contrast checker → · Palette generator →

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