#4D004D color codes
- HEX
- #4D004D
- HEX8
- #4D004DFF
- HEX8 (Android)
- #FF4D004D
- RGB
- rgb(77, 0, 77)
- RGB (%)
- 30%, 0%, 30%
- HSL
- hsl(300, 100%, 15%)
- HSV / HSB
- hsv(300, 100%, 30%)
- CMYK
- cmyk(0%, 100%, 0%, 70%)
- OKLCH
- oklch(0.2949 0.1355 328.36)
- OKLCH (%)
- oklch(29.49% 0.1355 328.36)
- Decimal
- 5046349
What color is #4D004D?
#4D004D sits at 29% lightness and 0.1355 chroma in OKLCH, hue 328.36°. Its nearest named color is Indigo.
Shades and tints of #4D004D
Tints
Shades
Tones
#4D004D color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #4D004D in CSS
.text { color: #4D004D; }
.background { background-color: #4D004D; }
.border { border: 2px solid #4D004D; }
/* Modern, perceptually uniform */
.text { color: oklch(0.2949 0.1355 328.36); }
/* #4D004D at 50% transparency */
.overlay { background-color: #4D004D80; }Is #4D004D accessible?
#4D004D on white text scores 14.76:1; on black text it scores 1.42:1. White text passes WCAG AAA on #4D004D. Recommended text color on a #4D004D background: white.
A 1.42:1 vs black
A 14.76:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#4D004D) → white APCA Lc experimental 103.3 Lc · body text — preferred (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Purple #800080. See more in the purple family on the colors hub.
Frequently asked questions
- What color is #4D004D?
- #4D004D is closest to Indigo. In RGB it is rgb(77, 0, 77), and in HSL hsl(300, 100%, 15%).
- What is #4D004D in RGB?
- #4D004D converts to rgb(77, 0, 77) — red 77, green 0, blue 77.
- What text color is readable on #4D004D?
- White text — it has the higher contrast ratio (14.76:1) against #4D004D. White text passes WCAG AAA on #4D004D.