#4D2184#4D2184

#4D2184 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.155 H 298.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4D2184
RGBrgb(77, 33, 132)
HSLhsl(267, 60%, 32%)
HSVhsv(267, 75%, 52%)
CMYKcmyk(41.7%, 75%, 0%, 48.2%)
CIE-LABlab(24.74, 41.39, -47.57)
CIE-LCHlch(24.74, 63.06, 311.03°)
OKLaboklab(36.97% 0.0746 -0.1359)
OKLCHoklch(36.97% 0.155 298.8)
XYZxyz(7.7682, 4.3313, 22.2521)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2184 #588421
analogous
#212684 #4D2184 #7F2184
triadic
#4D2184 #844D21 #21844D
tetradic
#4D2184 #842126 #588421 #21847F
square
#4D2184 #842126 #588421 #21847F
split-complementary
#4D2184 #847F21 #268421
monochromatic
#140922 #301553 #4D2184 #6A2DB5 #884DD2

Accessibility & contrast

On white

11.25
#4D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2184
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2184#FFFFFF#000000##FFFFFF
##4D21841.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#403A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2184;
/* rgb */ color: rgb(77, 33, 132);
/* oklch */ color: oklch(37.0% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#8461a9',
    500: '#4d2184',
    950: '#000000',
  },
}
SCSS
$custom: #4d2184;
$custom-light: #8461a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2184",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 266.667,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.15502,
    "h": 298.8
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#4D2184
secondary
#86B64B
accent
#E3459D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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