#4D3082#4D3082

#4D3082 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.132 H 296.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D3082
RGBrgb(77, 48, 130)
HSLhsl(261, 46%, 35%)
HSVhsv(261, 63%, 51%)
CMYKcmyk(40.8%, 63.1%, 0%, 49%)
CIE-LABlab(27.58, 32.59, -41.70)
CIE-LCHlch(27.58, 52.93, 308.01°)
OKLaboklab(38.96% 0.0579 -0.1187)
OKLCHoklch(38.96% 0.132 296)
XYZxyz(8.1457, 5.3032, 21.7092)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3082 #658230
analogous
#303C82 #4D3082 #763082
triadic
#4D3082 #824D30 #30824D
tetradic
#4D3082 #82303C #658230 #308276
square
#4D3082 #82303C #658230 #308276
split-complementary
#4D3082 #827630 #3C8230
monochromatic
#180F29 #331F55 #4D3082 #6741AF #8866C6

Accessibility & contrast

On white

10.19
#4D3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3082
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3082#FFFFFF#000000##FFFFFF
##4D30821.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#064080
Tritanopia (blue-blind)
#404254
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d3082;
/* rgb */ color: rgb(77, 48, 130);
/* oklch */ color: oklch(39.0% 0.132 296.0);
Tailwind
colors: {
  custom: {
    50: '#836aa7',
    500: '#4d3082',
    950: '#000000',
  },
}
SCSS
$custom: #4d3082;
$custom-light: #836aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3082",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 261.22,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.13206,
    "h": 296
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#4D3082
secondary
#92AE60
accent
#D652A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D3082

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

Preview Lab → · Contrast checker → · Palette generator →

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