#4D2E8D#4D2E8D

#4D2E8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.149 H 293.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4D2E8D
RGBrgb(77, 46, 141)
HSLhsl(260, 51%, 37%)
HSVhsv(260, 67%, 55%)
CMYKcmyk(45.4%, 67.4%, 0%, 44.7%)
CIE-LABlab(27.99, 36.95, -47.88)
CIE-LCHlch(27.99, 60.48, 307.66°)
OKLaboklab(39.53% 0.0592 -0.1369)
OKLCHoklch(39.53% 0.149 293.4)
XYZxyz(8.8440, 5.4546, 25.7810)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E8D #6E8D2E
analogous
#2E3F8D #4D2E8D #7D2E8D
triadic
#4D2E8D #8D4D2E #2E8D4D
tetradic
#4D2E8D #8D2E3F #6E8D2E #2E8D7D
square
#4D2E8D #8D2E3F #6E8D2E #2E8D7D
split-complementary
#4D2E8D #8D7D2E #3F8D2E
monochromatic
#1B1031 #341F5F #4D2E8D #663DBB #8968CE

Accessibility & contrast

On white

10.04
#4D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E8D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E8D#FFFFFF#000000##FFFFFF
##4D2E8D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#3B4559
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2e8d;
/* rgb */ color: rgb(77, 46, 141);
/* oklch */ color: oklch(39.5% 0.149 293.4);
Tailwind
colors: {
  custom: {
    50: '#8469af',
    500: '#4d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e8d;
$custom-light: #8469af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e8d",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 259.579,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.14914,
    "h": 293.4
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#4D2E8D
secondary
#9AB562
accent
#DA4EAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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