Nerdulator> put something in

Recognised as Colour

#512B5F

  • #512B5F
  • Violet
  • Dark
  • Nearest: Dark slateblue

#512B5F is a violet with RGB values 81, 43, 95 and HSL 284°, 38%, 27%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#512B5F#512B5F
HEX#512B5F
RGBrgb(81, 43, 95)
RGB (0–1)0.3176, 0.1686, 0.3725
RGB percentages31.8%, 16.9%, 37.3%
HSLhsl(283.8, 37.7%, 27.1%)
HSV / HSBhsv(283.8, 54.7%, 37.3%)
CMYK14.7%, 54.7%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,319,519
CSS custom property--colour: #512B5F;

Brightness & contrast

Relative luminance0.04303WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.29:1
Contrast with white11.29:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#AED4A0

Colour vision & accessibility

Protanopia#203861no red cones; affects about 1% of men; ΔE 22.3 from the original
Deuteranopia#2C3C5Eno green cones; the most common form, about 1% of men; ΔE 23.1 from the original
Tritanopia#503340no blue cones; rare, and affects men and women equally; ΔE 24.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.29:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 19.19, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#395F2B
Analogous#372B5F, #5F2B53
Triadic#5F512B, #2B5F51
Split complementary#535F2B, #2B5F37
Tetradic#5F372B, #395F2B, #2B535F

Tints, shades & saturation

Lighter +40%#BA8BCB
Lighter +30%#A568BB
Lighter +20%#8D4BA5
Lighter +10%#6F3B82
Darker −10%#331B3C
Darker −20%#150B19
Darker −30%#000000
Darker −40%#000000
More saturated +25%#591A70
Less saturated −25%#493C4E

Channel breakdown

R81
G43
B95
Red81 (31.8%)
Green43 (16.9%)
Blue95 (37.3%)
Hue283.85°
Saturation (HSL)37.68%
Lightness27.06%
Dominant channelBlue
Hex per channelR 51 · G 2B · B 5F

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 “512b5f” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.