#4D2085#4D2085

#4D2085 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.157 H 298.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#4D2085
RGBrgb(77, 32, 133)
HSLhsl(267, 61%, 32%)
HSVhsv(267, 76%, 52%)
CMYKcmyk(42.1%, 75.9%, 0%, 47.8%)
CIE-LABlab(24.65, 42.14, -48.34)
CIE-LCHlch(24.65, 64.13, 311.09°)
OKLaboklab(36.94% 0.0753 -0.1382)
OKLCHoklch(36.94% 0.157 298.6)
XYZxyz(7.8096, 4.3041, 22.6051)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2085 #588520
analogous
#202585 #4D2085 #802085
triadic
#4D2085 #854D20 #20854D
tetradic
#4D2085 #852025 #588520 #208580
square
#4D2085 #852025 #588520 #208580
split-complementary
#4D2085 #858020 #258520
monochromatic
#140822 #301454 #4D2085 #6A2CB6 #884CD4

Accessibility & contrast

On white

11.29
#4D2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2085
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2085#FFFFFF#000000##FFFFFF
##4D20851.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#3F3A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2085;
/* rgb */ color: rgb(77, 32, 133);
/* oklch */ color: oklch(36.9% 0.157 298.6);
Tailwind
colors: {
  custom: {
    50: '#8460a9',
    500: '#4d2085',
    950: '#000000',
  },
}
SCSS
$custom: #4d2085;
$custom-light: #8460a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2085",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 266.733,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.15736,
    "h": 298.6
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#4D2085
secondary
#86B74A
accent
#E4439D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D2085

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

Preview Lab → · Contrast checker → · Palette generator →

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