#4D3087#4D3087

#4D3087 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.139 H 294.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4D3087
RGBrgb(77, 48, 135)
HSLhsl(260, 48%, 36%)
HSVhsv(260, 64%, 53%)
CMYKcmyk(43%, 64.4%, 0%, 47.1%)
CIE-LABlab(27.96, 34.04, -44.22)
CIE-LCHlch(27.96, 55.80, 307.59°)
OKLaboklab(39.35% 0.0575 -0.1261)
OKLCHoklch(39.35% 0.139 294.5)
XYZxyz(8.4895, 5.4407, 23.5199)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3087 #6A8730
analogous
#303E87 #4D3087 #783087
triadic
#4D3087 #874D30 #30874D
tetradic
#4D3087 #87303E #6A8730 #308778
square
#4D3087 #87303E #6A8730 #308778
split-complementary
#4D3087 #877830 #3E8730
monochromatic
#19102D #33205A #4D3087 #6740B4 #8868C9

Accessibility & contrast

On white

10.06
#4D3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3087
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3087#FFFFFF#000000##FFFFFF
##4D30871.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#3E4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d3087;
/* rgb */ color: rgb(77, 48, 135);
/* oklch */ color: oklch(39.4% 0.139 294.5);
Tailwind
colors: {
  custom: {
    50: '#846aab',
    500: '#4d3087',
    950: '#000000',
  },
}
SCSS
$custom: #4d3087;
$custom-light: #846aab;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3087",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 260,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.1386,
    "h": 294.5
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3087

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

Preview Lab → · Contrast checker → · Palette generator →

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