#4D2E86#4D2E86

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

Color values

HEX#4D2E86
RGBrgb(77, 46, 134)
HSLhsl(261, 49%, 35%)
HSVhsv(261, 66%, 53%)
CMYKcmyk(42.5%, 65.7%, 0%, 47.5%)
CIE-LABlab(27.44, 34.92, -44.42)
CIE-LCHlch(27.44, 56.51, 308.17°)
OKLaboklab(38.96% 0.06 -0.1267)
OKLCHoklch(38.96% 0.14 295.3)
XYZxyz(8.3395, 5.2528, 23.1241)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E86 #67862E
analogous
#2E3B86 #4D2E86 #792E86
triadic
#4D2E86 #864D2E #2E864D
tetradic
#4D2E86 #862E3B #67862E #2E8679
square
#4D2E86 #862E3B #67862E #2E8679
split-complementary
#4D2E86 #86792E #3B862E
monochromatic
#190F2B #331E58 #4D2E86 #673EB4 #8864CA

Accessibility & contrast

On white

10.24
#4D2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E86
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E86#FFFFFF#000000##FFFFFF
##4D2E861.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#3E4255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2e86;
/* rgb */ color: rgb(77, 46, 134);
/* oklch */ color: oklch(39.0% 0.140 295.3);
Tailwind
colors: {
  custom: {
    50: '#8468aa',
    500: '#4d2e86',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e86;
$custom-light: #8468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e86",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 261.136,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38957,
    "c": 0.1402,
    "h": 295.3
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#4D2E86
secondary
#94B15F
accent
#D84FA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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