Nerdulator> put something in

Recognised as Colour

#5A398C

  • #5A398C
  • Violet
  • Dark
  • Nearest: Dark slateblue

#5A398C is a violet with RGB values 90, 57, 140 and HSL 264°, 42%, 39%. It is a dark colour, so white text on it reaches 8.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#5A398C#5A398C
HEX#5A398C
RGBrgb(90, 57, 140)
RGB (0–1)0.3529, 0.2235, 0.549
RGB percentages35.3%, 22.4%, 54.9%
HSLhsl(263.9, 42.1%, 38.6%)
HSV / HSBhsv(263.9, 59.3%, 54.9%)
CMYK35.7%, 59.3%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,912,972
CSS custom property--colour: #5A398C;

Brightness & contrast

Relative luminance0.06993WCAG 2.x, 0 is black and 1 is white
Perceived brightness81 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.75:1
Contrast with white8.75:1WCAG normal text: AAA
Contrast with black2.4:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#A5C673

Colour vision & accessibility

Protanopia#0F4B8Fno red cones; affects about 1% of men; ΔE 24.4 from the original
Deuteranopia#1E4A8Ano green cones; the most common form, about 1% of men; ΔE 24.3 from the original
Tritanopia#4F4A5Dno blue cones; rare, and affects men and women equally; ΔE 40.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.75:1WCAG large text: AAA
Contrast with black, large text2.4:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 7.33, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#6B8C39
Analogous#39428C, #83398C
Triadic#8C5A39, #398C5A
Split complementary#8C8439, #428C39
Tetradic#8C3942, #6B8C39, #398C83

Tints, shades & saturation

Lighter +40%#C4B2DF
Lighter +30%#A88DD1
Lighter +20%#8C69C2
Lighter +10%#7148B0
Darker −10%#432A68
Darker −20%#2B1B44
Darker −30%#140D1F
Darker −40%#000000
More saturated +25%#5520A5
Less saturated −25%#5F5273

Channel breakdown

R90
G57
B140
Red90 (35.3%)
Green57 (22.4%)
Blue140 (54.9%)
Hue263.86°
Saturation (HSL)42.13%
Lightness38.63%
Dominant channelBlue
Hex per channelR 5A · G 39 · B 8C

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

Every value on this page was computed from “5a398c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.