Recognised as Colour
#CD298A
- #CD298A
- Magenta
- Dark
- Nearest: Medium violet red
#CD298A is a magenta with RGB values 205, 41, 138 and HSL 325°, 67%, 48%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CD298A#CD298A
HEX#CD298A
RGBrgb(205, 41, 138)
RGB (0–1)0.8039, 0.1608, 0.5412
RGB percentages80.4%, 16.1%, 54.1%
HSLhsl(324.5, 66.7%, 48.2%)
HSV / HSBhsv(324.5, 80%, 80.4%)
CMYK0%, 80%, 32.7%, 19.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,445,514
CSS custom property--colour: #CD298A;
Brightness & contrast
Relative luminance0.164WCAG 2.x, 0 is black and 1 is white
Perceived brightness125.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.91:1
Contrast with white4.91:1WCAG normal text: AA
Contrast with black4.28:1WCAG normal text: Fail
Greyscale equivalent#535353
Inverted#32D675
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.91:1WCAG large text: AAA
Contrast with black, large text4.28:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#29CD6C
Analogous#BE29CD, #CD2938
Triadic#8ACD29, #298ACD
Split complementary#38CD29, #29CDBE
Tetradic#CDBE29, #29CD6C, #2938CD
Tints, shades & saturation
Channel breakdown
R205
G41
B138
Red205 (80.4%)
Green41 (16.1%)
Blue138 (54.1%)
Hue324.51°
Saturation (HSL)66.67%
Lightness48.24%
Dominant channelRed
Hex per channelR CD · G 29 · B 8A
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page