#4D3290#4D3290

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

Color values

HEX#4D3290
RGBrgb(77, 50, 144)
HSLhsl(257, 48%, 38%)
HSVhsv(257, 65%, 56%)
CMYKcmyk(46.5%, 65.3%, 0%, 43.5%)
CIE-LABlab(29.09, 35.51, -47.95)
CIE-LCHlch(29.09, 59.67, 306.52°)
OKLaboklab(40.39% 0.0544 -0.1371)
OKLCHoklch(40.39% 0.148 291.6)
XYZxyz(9.2338, 5.8723, 27.0271)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3290 #759032
analogous
#324690 #4D3290 #7C3290
triadic
#4D3290 #904D32 #32904D
tetradic
#4D3290 #903246 #759032 #32907C
square
#4D3290 #903246 #759032 #32907C
split-complementary
#4D3290 #907C32 #469032
monochromatic
#1C1235 #352263 #4D3290 #6542BD #8A6FCD

Accessibility & contrast

On white

9.66
#4D3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3290
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3290#FFFFFF#000000##FFFFFF
##4D32901.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#39485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d3290;
/* rgb */ color: rgb(77, 50, 144);
/* oklch */ color: oklch(40.4% 0.147 291.6);
Tailwind
colors: {
  custom: {
    50: '#856bb1',
    500: '#4d3290',
    950: '#000000',
  },
}
SCSS
$custom: #4d3290;
$custom-light: #856bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3290",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 257.234,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.1475,
    "h": 291.6
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#4D3290
secondary
#9FB569
accent
#D850B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4D3290

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

Preview Lab → · Contrast checker → · Palette generator →

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