#4D2C66#4D2C66

#4D2C66 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.3% C 0.102 H 308.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4D2C66
RGBrgb(77, 44, 102)
HSLhsl(274, 40%, 29%)
HSVhsv(274, 57%, 40%)
CMYKcmyk(24.5%, 56.9%, 0%, 60%)
CIE-LABlab(24.76, 27.29, -28.38)
CIE-LCHlch(24.76, 39.37, 313.88°)
OKLaboklab(36.28% 0.0632 -0.0796)
OKLCHoklch(36.28% 0.102 308.4)
XYZxyz(6.3591, 4.3385, 13.0702)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C66 #45662C
analogous
#302C66 #4D2C66 #662C62
triadic
#4D2C66 #664D2C #2C664D
tetradic
#4D2C66 #66302C #45662C #2C6266
square
#4D2C66 #66302C #45662C #2C6266
split-complementary
#4D2C66 #62662C #2C6630
monochromatic
#100915 #2D1A3B #4D2C66 #6D3E91 #8D56B6

Accessibility & contrast

On white

11.24
#4D2C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4D2C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C66
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C66#FFFFFF#000000##FFFFFF
##4D2C661.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#253B65
Tritanopia (blue-blind)
#493644
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4d2c66;
/* rgb */ color: rgb(77, 44, 102);
/* oklch */ color: oklch(36.3% 0.102 308.4);
Tailwind
colors: {
  custom: {
    50: '#816692',
    500: '#4d2c66',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c66;
$custom-light: #816692;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c66",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 274.138,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.10167,
    "h": 308.4
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#4D2C66
secondary
#729856
accent
#D0588C
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4D2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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