#4D2C99#4D2C99

#4D2C99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.167 H 290.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4D2C99
RGBrgb(77, 44, 153)
HSLhsl(258, 55%, 39%)
HSVhsv(258, 71%, 60%)
CMYKcmyk(49.7%, 71.2%, 0%, 40%)
CIE-LABlab(28.59, 41.55, -54.29)
CIE-LCHlch(28.59, 68.37, 307.43°)
OKLaboklab(40.26% 0.0593 -0.1557)
OKLCHoklch(40.26% 0.167 290.9)
XYZxyz(9.7094, 5.6787, 30.7153)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C99 #78992C
analogous
#2C4199 #4D2C99 #832C99
triadic
#4D2C99 #994D2C #2C994D
tetradic
#4D2C99 #992C41 #78992C #2C9983
square
#4D2C99 #992C41 #78992C #2C9983
split-complementary
#4D2C99 #99832C #41992C
monochromatic
#1D113A #351E69 #4D2C99 #663BC7 #8B6BD4

Accessibility & contrast

On white

9.83
#4D2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C99
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C99#FFFFFF#000000##FFFFFF
##4D2C991.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#34485F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2c99;
/* rgb */ color: rgb(77, 44, 153);
/* oklch */ color: oklch(40.3% 0.167 290.9);
Tailwind
colors: {
  custom: {
    50: '#8668b8',
    500: '#4d2c99',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c99;
$custom-light: #8668b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c99",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 258.165,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.16664,
    "h": 290.9
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#4D2C99
secondary
#A1BB66
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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