#4D2084#4D2084

#4D2084 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.156 H 298.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4D2084
RGBrgb(77, 32, 132)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 52%)
CMYKcmyk(41.7%, 75.8%, 0%, 48.2%)
CIE-LABlab(24.57, 41.88, -47.85)
CIE-LCHlch(24.57, 63.59, 311.19°)
OKLaboklab(36.85% 0.0756 -0.1367)
OKLCHoklch(36.85% 0.156 298.9)
XYZxyz(7.7409, 4.2766, 22.2430)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2084 #578420
analogous
#202584 #4D2084 #7F2084
triadic
#4D2084 #844D20 #20844D
tetradic
#4D2084 #842025 #578420 #20847F
square
#4D2084 #842025 #578420 #20847F
split-complementary
#4D2084 #847F20 #258420
monochromatic
#140821 #301453 #4D2084 #6A2CB5 #884BD3

Accessibility & contrast

On white

11.32
#4D2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4D2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2084
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2084#FFFFFF#000000##FFFFFF
##4D20841.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#403A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2084;
/* rgb */ color: rgb(77, 32, 132);
/* oklch */ color: oklch(36.8% 0.156 298.9);
Tailwind
colors: {
  custom: {
    50: '#8460a9',
    500: '#4d2084',
    950: '#000000',
  },
}
SCSS
$custom: #4d2084;
$custom-light: #8460a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2084",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 267,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.15622,
    "h": 298.9
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#4D2084
secondary
#85B64A
accent
#E4449C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2084

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

Preview Lab → · Contrast checker → · Palette generator →

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