Recognised as Colour
#5B338A
- #5B338A
- Violet
- Dark
- Nearest: Rebecca purple
#5B338A is a violet with RGB values 91, 51, 138 and HSL 268°, 46%, 37%. It is a dark colour, so white text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#5B338A#5B338A
HEX#5B338A
RGBrgb(91, 51, 138)
RGB (0–1)0.3569, 0.2, 0.5412
RGB percentages35.7%, 20%, 54.1%
HSLhsl(267.6, 46%, 37.1%)
HSV / HSBhsv(267.6, 63%, 54.1%)
CMYK34.1%, 63%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,976,970
CSS custom property--colour: #5B338A;
Brightness & contrast
Relative luminance0.06427WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.19:1
Contrast with white9.19:1WCAG normal text: AAA
Contrast with black2.29:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#A4CC75
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text9.19:1WCAG large text: AAA
Contrast with black, large text2.29:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#628A33
Analogous#33368A, #87338A
Triadic#8A5B33, #338A5B
Split complementary#8A8733, #368A33
Tetradic#8A3336, #628A33, #338A87
Tints, shades & saturation
Channel breakdown
R91
G51
B138
Red91 (35.7%)
Green51 (20%)
Blue138 (54.1%)
Hue267.59°
Saturation (HSL)46.03%
Lightness37.06%
Dominant channelBlue
Hex per channelR 5B · G 33 · B 8A
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