Nerdulator> put something in

Recognised as Colour

#662AFE

  • #662AFE
  • Violet
  • Dark
  • Nearest: Medium blue

#662AFE is a violet with RGB values 102, 42, 254 and HSL 257°, 99%, 58%. It is a dark colour, so white text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Medium blue.

Colour values

#662AFE#662AFE
HEX#662AFE
RGBrgb(102, 42, 254)
RGB (0–1)0.4, 0.1647, 0.9961
RGB percentages40%, 16.5%, 99.6%
HSLhsl(257, 99.1%, 58%)
HSV / HSBhsv(257, 83.5%, 99.6%)
CMYK59.8%, 83.5%, 0%, 0.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,695,678
CSS custom property--colour: #662AFE;

Brightness & contrast

Relative luminance0.11636WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.31:1
Contrast with white6.31:1WCAG normal text: AA
Contrast with black3.33:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#99D501

Colour vision & accessibility

Protanopia#0066FFno red cones; affects about 1% of men; ΔE 39.9 from the original
Deuteranopia#0059FAno green cones; the most common form, about 1% of men; ΔE 32.5 from the original
Tritanopia#006E99no blue cones; rare, and affects men and women equally; ΔE 103.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.31:1WCAG large text: AAA
Contrast with black, large text3.33:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 16.72, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#C2FE2A
Analogous#2A58FE, #D02AFE
Triadic#FE662A, #2AFE66
Split complementary#FED02A, #58FE2A
Tetradic#FE2A58, #C2FE2A, #2AFED0

Tints, shades & saturation

Lighter +40%#F8F5FF
Lighter +30%#D3C2FF
Lighter +20%#AF90FE
Lighter +10%#8A5DFE
Darker −10%#4601F4
Darker −20%#3701C1
Darker −30%#29018E
Darker −40%#1A005C
More saturated +25%#6629FF
Less saturated −25%#7245E3

Channel breakdown

R102
G42
B254
Red102 (40%)
Green42 (16.5%)
Blue254 (99.6%)
Hue256.98°
Saturation (HSL)99.07%
Lightness58.04%
Dominant channelBlue
Hex per channelR 66 · G 2A · B FE

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