Recognised as Colour
#CB0396
- #CB0396
- Magenta
- Dark
- Nearest: Medium violet red
#CB0396 is a magenta with RGB values 203, 3, 150 and HSL 316°, 97%, 40%. It is a dark colour, so white text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CB0396#CB0396
HEX#CB0396
RGBrgb(203, 3, 150)
RGB (0–1)0.7961, 0.0118, 0.5882
RGB percentages79.6%, 1.2%, 58.8%
HSLhsl(315.9, 97.1%, 40.4%)
HSV / HSBhsv(315.9, 98.5%, 79.6%)
CMYK0%, 98.5%, 26.1%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,304,726
CSS custom property--colour: #CB0396;
Brightness & contrast
Relative luminance0.14964WCAG 2.x, 0 is black and 1 is white
Perceived brightness122 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.26:1
Contrast with white5.26:1WCAG normal text: AA
Contrast with black3.99:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#34FC69
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.26:1WCAG large text: AAA
Contrast with black, large text3.99:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#03CB38
Analogous#9C03CB, #CB0332
Triadic#96CB03, #0396CB
Split complementary#32CB03, #03CB9C
Tetradic#CB9C03, #03CB38, #0332CB
Tints, shades & saturation
Channel breakdown
R203
G3
B150
Red203 (79.6%)
Green3 (1.2%)
Blue150 (58.8%)
Hue315.9°
Saturation (HSL)97.09%
Lightness40.39%
Dominant channelRed
Hex per channelR CB · G 03 · B 96
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