#4D2C8A#4D2C8A

#4D2C8A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.148 H 294.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4D2C8A
RGBrgb(77, 44, 138)
HSLhsl(261, 52%, 36%)
HSVhsv(261, 68%, 54%)
CMYKcmyk(44.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(27.34, 37.22, -47.09)
CIE-LCHlch(27.34, 60.02, 308.32°)
OKLaboklab(38.98% 0.0618 -0.1345)
OKLCHoklch(38.98% 0.148 294.7)
XYZxyz(8.5475, 5.2139, 24.5959)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C8A #698A2C
analogous
#2C3A8A #4D2C8A #7C2C8A
triadic
#4D2C8A #8A4D2C #2C8A4D
tetradic
#4D2C8A #8A2C3A #698A2C #2C8A7C
square
#4D2C8A #8A2C3A #698A2C #2C8A7C
split-complementary
#4D2C8A #8A7C2C #3A8A2C
monochromatic
#190E2D #331D5C #4D2C8A #673BB8 #8863CD

Accessibility & contrast

On white

10.28
#4D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2C8A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C8A#FFFFFF#000000##FFFFFF
##4D2C8A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#3C4257
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2c8a;
/* rgb */ color: rgb(77, 44, 138);
/* oklch */ color: oklch(39.0% 0.148 294.7);
Tailwind
colors: {
  custom: {
    50: '#8467ad',
    500: '#4d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c8a;
$custom-light: #8467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c8a",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 261.064,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.14807,
    "h": 294.7
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#4D2C8A
secondary
#96B45E
accent
#DB4DA9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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