#4D2F76#4D2F76

#4D2F76 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.9% C 0.118 H 300.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4D2F76
RGBrgb(77, 47, 118)
HSLhsl(265, 43%, 32%)
HSVhsv(265, 60%, 46%)
CMYKcmyk(34.7%, 60.2%, 0%, 53.7%)
CIE-LABlab(26.50, 29.78, -35.87)
CIE-LCHlch(26.50, 46.62, 309.70°)
OKLaboklab(37.9% 0.0595 -0.1016)
OKLCHoklch(37.9% 0.118 300.4)
XYZxyz(7.3463, 4.9188, 17.6984)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F76 #58762F
analogous
#2F3576 #4D2F76 #702F76
triadic
#4D2F76 #764D2F #2F764D
tetradic
#4D2F76 #762F35 #58762F #2F7670
square
#4D2F76 #762F35 #58762F #2F7670
split-complementary
#4D2F76 #76702F #35762F
monochromatic
#140C1E #301E4A #4D2F76 #6A40A2 #8860C0

Accessibility & contrast

On white

10.59
#4D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F76
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F76#FFFFFF#000000##FFFFFF
##4D2F761.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E78
Deuteranopia (green-blind)
#1A3E74
Tritanopia (blue-blind)
#443D4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2f76;
/* rgb */ color: rgb(77, 47, 118);
/* oklch */ color: oklch(37.9% 0.118 300.4);
Tailwind
colors: {
  custom: {
    50: '#82699e',
    500: '#4d2f76',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f76;
$custom-light: #82699e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f76",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 265.352,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37901,
    "c": 0.11771,
    "h": 300.4
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#4D2F76
secondary
#86A75A
accent
#D3559E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4D2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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