Recognised as Colour
#CB28E4
- #CB28E4
- Magenta
- Dark
- Nearest: Dark violet
#CB28E4 is a magenta with RGB values 203, 40, 228 and HSL 292°, 78%, 53%. It is a dark colour, so black text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Dark violet.
Colour values
#CB28E4#CB28E4
HEX#CB28E4
RGBrgb(203, 40, 228)
RGB (0–1)0.7961, 0.1569, 0.8941
RGB percentages79.6%, 15.7%, 89.4%
HSLhsl(292, 77.7%, 52.5%)
HSV / HSBhsv(292, 82.5%, 89.4%)
CMYK11%, 82.5%, 0%, 10.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,314,276
CSS custom property--colour: #CB28E4;
Brightness & contrast
Relative luminance0.19816WCAG 2.x, 0 is black and 1 is white
Perceived brightness138.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.96:1
Contrast with white4.23:1WCAG normal text: Fail
Contrast with black4.96:1WCAG normal text: AA
Greyscale equivalent#585858
Inverted#34D71B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.23:1WCAG large text: AA
Contrast with black, large text4.96:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#41E428
Analogous#6D28E4, #E4289F
Triadic#E4CB28, #28E4CB
Split complementary#9FE428, #28E46D
Tetradic#E46D28, #41E428, #289FE4
Tints, shades & saturation
Channel breakdown
R203
G40
B228
Red203 (79.6%)
Green40 (15.7%)
Blue228 (89.4%)
Hue292.02°
Saturation (HSL)77.69%
Lightness52.55%
Dominant channelBlue
Hex per channelR CB · G 28 · B E4
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page