#4D2D86#4D2D86

#4D2D86 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.142 H 295.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4D2D86
RGBrgb(77, 45, 134)
HSLhsl(262, 50%, 35%)
HSVhsv(262, 66%, 53%)
CMYKcmyk(42.5%, 66.4%, 0%, 47.5%)
CIE-LABlab(27.23, 35.50, -44.77)
CIE-LCHlch(27.23, 57.14, 308.41°)
OKLaboklab(38.8% 0.0612 -0.1277)
OKLCHoklch(38.8% 0.142 295.6)
XYZxyz(8.3009, 5.1756, 23.1113)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D86 #66862D
analogous
#2D3986 #4D2D86 #7A2D86
triadic
#4D2D86 #864D2D #2D864D
tetradic
#4D2D86 #862D39 #66862D #2D867A
square
#4D2D86 #862D39 #66862D #2D867A
split-complementary
#4D2D86 #867A2D #39862D
monochromatic
#180E2A #331E58 #4D2D86 #673CB4 #8863CB

Accessibility & contrast

On white

10.32
#4D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4D2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D86
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D86#FFFFFF#000000##FFFFFF
##4D2D861.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2d86;
/* rgb */ color: rgb(77, 45, 134);
/* oklch */ color: oklch(38.8% 0.142 295.6);
Tailwind
colors: {
  custom: {
    50: '#8468aa',
    500: '#4d2d86',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d86;
$custom-light: #8468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d86",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 261.573,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.14163,
    "h": 295.6
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#4D2D86
secondary
#93B15E
accent
#D94FA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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