#4E2A4E color codes
- HEX
- #4E2A4E
- HEX8
- #4E2A4EFF
- HEX8 (Android)
- #FF4E2A4E
- RGB
- rgb(78, 42, 78)
- RGB (%)
- 31%, 16%, 31%
- HSL
- hsl(300, 30%, 24%)
- HSV / HSB
- hsv(300, 46%, 31%)
- CMYK
- cmyk(0%, 46%, 0%, 69%)
- OKLCH
- oklch(0.3464 0.0763 327.07)
- OKLCH (%)
- oklch(34.64% 0.0763 327.07)
- Decimal
- 5122638
What color is #4E2A4E?
#4E2A4E sits at 35% lightness and 0.0763 chroma in OKLCH, hue 327.07°. Its nearest named color is Purple.
Shades and tints of #4E2A4E
Tints
Shades
Tones
#4E2A4E color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #4E2A4E in CSS
.text { color: #4E2A4E; }
.background { background-color: #4E2A4E; }
.border { border: 2px solid #4E2A4E; }
/* Modern, perceptually uniform */
.text { color: oklch(0.3464 0.0763 327.07); }
/* #4E2A4E at 50% transparency */
.overlay { background-color: #4E2A4E80; }Is #4E2A4E accessible?
#4E2A4E on white text scores 11.90:1; on black text it scores 1.77:1. White text passes WCAG AAA on #4E2A4E. Recommended text color on a #4E2A4E background: white.
A 1.77:1 vs black
A 11.9: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(#4E2A4E) → white APCA Lc experimental 100.7 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 #4E2A4E?
- #4E2A4E is closest to Purple. In RGB it is rgb(78, 42, 78), and in HSL hsl(300, 30%, 24%).
- What is #4E2A4E in RGB?
- #4E2A4E converts to rgb(78, 42, 78) — red 78, green 42, blue 78.
- What text color is readable on #4E2A4E?
- White text — it has the higher contrast ratio (11.90:1) against #4E2A4E. White text passes WCAG AAA on #4E2A4E.