Nerdulator> put something in

Colour

#6642CD

  • #6642CD
  • Violet
  • Dark
  • Nearest: Medium slateblue

#6642CD is a violet with RGB values 102, 66, 205 and HSL 256°, 58%, 53%. It is a dark colour, so white text on it reaches 6.5:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.

Colour values

#6642CD#6642CD
HEX#6642CD
RGBrgb(102, 66, 205)
RGB (0–1)0.4, 0.2588, 0.8039
RGB percentages40%, 25.9%, 80.4%
HSLhsl(255.5, 58.2%, 53.1%)
HSV / HSBhsv(255.5, 67.8%, 80.4%)
CMYK50.2%, 67.8%, 0%, 19.6%naive device-independent conversion; real print needs an ICC profile
24-bit integer6,701,773
CSS custom property--colour: #6642CD;

Brightness & contrast

Relative luminance0.11129WCAG 2.x, 0 is black and 1 is white
Perceived brightness102.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.51:1
Contrast with white6.51:1WCAG normal text: AA
Contrast with black3.23:1WCAG normal text: Fail
Greyscale equivalent#545454
Inverted#99BD32

Colour vision & accessibility

Protanopia#0061D1no red cones; affects about 1% of men; ΔE 28.7 from the original
Deuteranopia#005ACAno green cones; the most common form, about 1% of men; ΔE 26.8 from the original
Tritanopia#416582no blue cones; rare, and affects men and women equally; ΔE 70.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.51:1WCAG large text: AAA
Contrast with black, large text3.23:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium slateblue (#7B68EE)ΔE 14.74, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#A9CD42
Analogous#4264CD, #AB42CD
Triadic#CD6642, #42CD66
Split complementary#CDAC42, #64CD42
Tetradic#CD4264, #A9CD42, #42CDAB

Tints, shades & saturation

Lighter +40%#E9E3F8
Lighter +30%#C8BBED
Lighter +20%#A793E2
Lighter +10%#876AD8
Darker −10%#4F2EAE
Darker −20%#3D2386
Darker −30%#2A195D
Darker −40%#180E35
More saturated +25%#5824EB
Less saturated −25%#7460AF

Channel breakdown

R102
G66
B205
Red102 (40%)
Green66 (25.9%)
Blue205 (80.4%)
Hue255.54°
Saturation (HSL)58.16%
Lightness53.14%
Dominant channelBlue
Hex per channelR 66 · G 42 · B CD

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