#4D3086#4D3086

#4D3086 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.137 H 294.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4D3086
RGBrgb(77, 48, 134)
HSLhsl(260, 47%, 36%)
HSVhsv(260, 64%, 53%)
CMYKcmyk(42.5%, 64.2%, 0%, 47.5%)
CIE-LABlab(27.88, 33.75, -43.72)
CIE-LCHlch(27.88, 55.23, 307.67°)
OKLaboklab(39.27% 0.0576 -0.1246)
OKLCHoklch(39.27% 0.137 294.8)
XYZxyz(8.4195, 5.4127, 23.1508)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3086 #698630
analogous
#303E86 #4D3086 #783086
triadic
#4D3086 #864D30 #30864D
tetradic
#4D3086 #86303E #698630 #308678
square
#4D3086 #86303E #698630 #308678
split-complementary
#4D3086 #867830 #3E8630
monochromatic
#19102C #332059 #4D3086 #6740B3 #8868C9

Accessibility & contrast

On white

10.08
#4D3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3086
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3086#FFFFFF#000000##FFFFFF
##4D30861.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#3E4356
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d3086;
/* rgb */ color: rgb(77, 48, 134);
/* oklch */ color: oklch(39.3% 0.137 294.8);
Tailwind
colors: {
  custom: {
    50: '#836aaa',
    500: '#4d3086',
    950: '#000000',
  },
}
SCSS
$custom: #4d3086;
$custom-light: #836aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3086",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 260.233,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.1373,
    "h": 294.8
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#4D3086
secondary
#96B062
accent
#D751AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D3086

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

Preview Lab → · Contrast checker → · Palette generator →

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