#4D2C8D#4D2C8D

#4D2C8D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.152 H 293.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D2C8D
RGBrgb(77, 44, 141)
HSLhsl(260, 52%, 36%)
HSVhsv(260, 69%, 55%)
CMYKcmyk(45.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(27.58, 38.08, -48.55)
CIE-LCHlch(27.58, 61.71, 308.11°)
OKLaboklab(39.23% 0.0614 -0.1389)
OKLCHoklch(39.23% 0.152 293.9)
XYZxyz(8.7677, 5.3020, 25.7556)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C8D #6C8D2C
analogous
#2C3C8D #4D2C8D #7E2C8D
triadic
#4D2C8D #8D4D2C #2C8D4D
tetradic
#4D2C8D #8D2C3C #6C8D2C #2C8D7E
square
#4D2C8D #8D2C3C #6C8D2C #2C8D7E
split-complementary
#4D2C8D #8D7E2C #3C8D2C
monochromatic
#1A0F30 #341D5E #4D2C8D #663BBC #8965CF

Accessibility & contrast

On white

10.19
#4D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C8D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C8D#FFFFFF#000000##FFFFFF
##4D2C8D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#3B4358
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2c8d;
/* rgb */ color: rgb(77, 44, 141);
/* oklch */ color: oklch(39.2% 0.152 293.9);
Tailwind
colors: {
  custom: {
    50: '#8567af',
    500: '#4d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c8d;
$custom-light: #8567af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c8d",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 260.412,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.15183,
    "h": 293.9
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#4D2C8D
secondary
#98B560
accent
#DC4CAB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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