#4D3081#4D3081

#4D3081 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.131 H 296.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D3081
RGBrgb(77, 48, 129)
HSLhsl(261, 46%, 35%)
HSVhsv(261, 63%, 51%)
CMYKcmyk(40.3%, 62.8%, 0%, 49.4%)
CIE-LABlab(27.51, 32.30, -41.19)
CIE-LCHlch(27.51, 52.35, 308.11°)
OKLaboklab(38.89% 0.0579 -0.1172)
OKLCHoklch(38.89% 0.131 296.3)
XYZxyz(8.0789, 5.2765, 21.3574)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3081 #648130
analogous
#303C81 #4D3081 #753081
triadic
#4D3081 #814D30 #30814D
tetradic
#4D3081 #81303C #648130 #308175
square
#4D3081 #81303C #648130 #308175
split-complementary
#4D3081 #817530 #3C8130
monochromatic
#180F28 #321F54 #4D3081 #6841AE #8866C6

Accessibility & contrast

On white

10.22
#4D3081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D3081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3081
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3081#FFFFFF#000000##FFFFFF
##4D30811.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#09407F
Tritanopia (blue-blind)
#404253
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d3081;
/* rgb */ color: rgb(77, 48, 129);
/* oklch */ color: oklch(38.9% 0.131 296.3);
Tailwind
colors: {
  custom: {
    50: '#836aa6',
    500: '#4d3081',
    950: '#000000',
  },
}
SCSS
$custom: #4d3081;
$custom-light: #836aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3081",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 261.481,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.13074,
    "h": 296.3
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#4D3081
secondary
#91AD60
accent
#D552A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D3081

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

Preview Lab → · Contrast checker → · Palette generator →

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