#4D2C86#4D2C86

#4D2C86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.143 H 295.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2C86
RGBrgb(77, 44, 134)
HSLhsl(262, 51%, 35%)
HSVhsv(262, 67%, 53%)
CMYKcmyk(42.5%, 67.2%, 0%, 47.5%)
CIE-LABlab(27.02, 36.08, -45.11)
CIE-LCHlch(27.02, 57.76, 308.65°)
OKLaboklab(38.65% 0.0623 -0.1287)
OKLCHoklch(38.65% 0.143 295.8)
XYZxyz(8.2632, 5.1002, 23.0987)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C86 #65862C
analogous
#2C3886 #4D2C86 #7A2C86
triadic
#4D2C86 #864D2C #2C864D
tetradic
#4D2C86 #862C38 #65862C #2C867A
square
#4D2C86 #862C38 #65862C #2C867A
split-complementary
#4D2C86 #867A2C #38862C
monochromatic
#180E2A #331D58 #4D2C86 #673BB4 #8861CB

Accessibility & contrast

On white

10.40
#4D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C86
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C86#FFFFFF#000000##FFFFFF
##4D2C861.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#3E4155
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2c86;
/* rgb */ color: rgb(77, 44, 134);
/* oklch */ color: oklch(38.6% 0.143 295.8);
Tailwind
colors: {
  custom: {
    50: '#8467aa',
    500: '#4d2c86',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c86;
$custom-light: #8467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c86",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 262,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.14303,
    "h": 295.8
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#4D2C86
secondary
#92B15C
accent
#DA4EA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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